Adjective:
* Meaning: Protected from a particular disease.
* Example: "She is immune to the flu."
Noun:
* Meaning: A person who is protected from a particular disease, especially by vaccination.
* Example: "The medical team is working to create a vaccine that will produce immunity in the population."
The part of speech depends on how it is used in a sentence.