Here are some examples:
* Noun: A ward is a division of a hospital (e.g., "The patient was transferred to the intensive care ward").
* Noun: A ward is a person under the care of a guardian (e.g., "The young girl was placed under the ward of her aunt").
* Verb: To ward means to protect or defend against something (e.g., "The castle walls warded off attackers").
* Adjective: Ward can be used as an adjective meaning "relating to a ward or wards" (e.g., "The ward council met to discuss local issues").
Therefore, to determine the part of speech of "ward", you need to consider the context of the sentence.