A clear, natural sentence containing the word immunity is: "After recovering from the infection, she developed immunity to that particular virus." That sentence uses the word in its most common everyday sense—the body's acquired ability to resist a specific disease—and it is grammatically complete, readable, and accurate. But immunity carries three distinct meanings, and the right sentence depends on which one you intend. This article gives ready-to-use example sentences for each sense, explains when each applies, and points out the distinctions that commonly trip people up.
The Core Meaning: Biological Resistance to Disease
In biology and medicine, immunity means the ability of an organism to resist or defend against a pathogen or other foreign threat. It is a noun, so it functions as the subject or object of a sentence, not as a verb or adjective. Note the related forms: the adjective is immune ("she is immune to the virus"), and the verb phrase is "to be immune to" or "to confer immunity."
Some ready sentences using the biological sense:
"Vaccination works by training the immune system to recognize a pathogen, which can produce long-lasting immunity without the person ever getting sick." "Newborns receive some temporary immunity from their mothers through antibodies passed before birth and through breast milk." "Immunity to a virus is usually specific: having had one strain does not necessarily protect you against a different one." "The study measured how long immunity lasted after the second dose."
These sentences share a pattern worth noticing: immunity almost always appears with a qualifier—immunity to something, immunity against something, or long-lasting, temporary, acquired, or natural immunity. A bare "She has immunity" is grammatical but vague; readers will want to know to what, for how long, and of what kind.
A Useful Distinction: Innate vs. Acquired Immunity
Two subcategories are worth knowing because they change what a sentence means. Innate immunity is the built-in, nonspecific defense system that everyone has from birth—skin, mucous membranes, inflammation, and certain white blood cells. Acquired (or adaptive) immunity develops after exposure to a specific pathogen or through vaccination and is targeted and often long-lasting. So "Humans have innate immunity to many bacteria" is true in a general way, while "She has acquired immunity to measles after vaccination" describes a specific, learned response. If you write a sentence about immunity, deciding which kind you mean keeps it accurate.
The Second Meaning: Legal Protection From Prosecution or Liability
Immunity also has a legal sense: an exemption from legal liability, prosecution, or a duty that would otherwise apply. This is a completely different meaning from the biological one, and it appears in news and legal writing constantly.
Examples:
"The witness was granted immunity in exchange for testimony against the organizers."
"Diplomats generally enjoy immunity from prosecution in the country where they are posted, though the precise scope depends on the relevant treaty and local law." "The court considered whether the official had immunity from civil suit for actions taken in office."
If a reader encounters "immunity" in a legal context, the biological sense is simply wrong. The word here means protection from legal consequence, not protection from disease. The sentence structure is similar—immunity from prosecution, immunity in exchange for testimony—but the meaning is entirely distinct.
The Third Meaning: Exemption From a Burden or Rule
A rarer and more figurative use treats immunity as exemption from an obligation, hardship, or rule—sometimes called "immunity from" something unpleasant. This appears in formal or literary writing:
"The small island seemed to enjoy immunity from the economic downturn that affected the mainland." "No institution is granted immunity from criticism."
This is an extension of the legal sense and is often figurative. It is correct but less common than the first two meanings, and in most contexts you could more plainly write "exemption from" or "protection from."
How to Choose the Right Sentence
The single most important thing to get right is the preposition and what follows it. Immunity to most often introduces a disease or pathogen. Immunity from most often introduces a legal action, prosecution, or burden. There is overlap—"immunity to prosecution" is occasionally seen—but as a rule of thumb, to pairs with biological resistance and from pairs with legal or figurative exemption. Using the wrong preposition is not usually a grammar error, but it can confuse the reader about which meaning you intend.
| Meaning | Typical preposition | Example |
|---|---|---|
| Biological resistance | to (a disease) | "She has immunity to the virus." |
| Legal protection | from (prosecution) | "The witness received immunity from prosecution." |
| Exemption from a burden | from (a duty, hardship) | "The town enjoyed immunity from the recession." |
Common Confusions Worth Clearing Up
Immunity is not the same as being a carrier or being immune to everything. A person can have immunity to one pathogen and none to another. Sentences that say "he is immune" without a stated object are imprecise. The word is almost always relational.
Adjective vs. noun. Immune is an adjective: "The child is immune to chickenpox." Immunity is a noun: "The child has immunity to chickenpox." A frequent error is writing "She has immune to the virus," which is ungrammatical because it uses the adjective where the noun belongs.
Immunity vs. immunization. Immunization is the process of making someone immune, usually through vaccination. Immunity is the resulting state. So "The immunization provided immunity" is correct and shows the distinction clearly.
"Herd immunity" is a specific term. It refers to the indirect protection of a population when a sufficient proportion is immune, slowing transmission. A sentence using "herd immunity" is accurate only if it describes population-level protection, not an individual's status.
Sample Sentences by Audience and Register
For a school essay or straightforward scientific writing, the biological sense is usually what's wanted: "The body's first line of defense is innate immunity, while acquired immunity develops after exposure." For journalism, the legal sense is common: "The committee debated whether to grant the former aide immunity from prosecution." For everyday speech, the plain biological sentence at the top of this article—"After recovering from the infection, she developed immunity to that particular virus"—is natural, clear, and correct.
The short answer, then, is that a good sentence with immunity names what the immunity is against. Whether you write immunity to a disease or immunity from a legal action, the phrase that follows the word is what makes the sentence precise. Keep the noun and adjective forms straight, choose the preposition that fits the intended meaning, and the sentence will be both grammatically sound and easy to understand.
This article provides general language and science information, not medical advice. For questions about immunity, vaccination, or your own health, consult a qualified healthcare professional.