Here is an example:He is a noted researcher and scholar. (Here, scholar is a noun.)He's a scholarly researcher. (Here, scholarly is an adverb. One way to make an adverb is to add -ly.)
Immune is an adjective, i.e. your immune system. However, it can be used as a noun in the specific case of talking about a person who is not susceptible to a particular disease.