Favorite (favourite) is an adjective. It describes a noun as "This is my favourite book"
But in certain situations it could be a noun as in "Anne Boleyn was the King's favourite"
fabric
When it ended
preposition
It can be a noun: "Science is my favorite subject." It can be an adjective: "I am almost finished with my science project."
"Dismay" is a noun, such as in the sentence "The girl was in dismay when she found out her favorite doll had been lost."
The part of speech for this particular word is a noun.
part of speech
The part of speech for "answer" is a noun.
adverb
what part of speech is beneath
The part of speech for "unfamiliar" is an adjective.
The part of speech of "came" is a verb.