The word both is a determiner. Both refers to one and another.
'As' is both a preposition and a conjunction.
Your and my are both possessive pronouns.
both noun and verb
Both words are nouns.
'Baroque' is both a noun and a verb .
"Determined" can be both an adjective or a verb.
"Resumed" can be both a verb and an adjective.
Both casual and causal are adjectives.
"Unpatriotic" and its antonym, "patriotic", are both adjectives.
Mosquito and parakeet are both nouns.
"Subtle" can function as both an adjective and a noun.
The word "nice" can be both an adjective and a noun.