* Noun: A person who lives in a particular place (e.g., "The residents of the town were happy about the new park.")
* Adjective: Living in a particular place (e.g., "The resident doctor was very experienced.")
* Verb: To live in a particular place (e.g., "The family resided in a small cottage by the lake.")
So, to determine the part of speech, you need to look at the context of the sentence.