im ‧ mu ‧ ni ‧ ty /ɪˈmjuːnəti, ɪˈmjuːnɪti/ BrE AmE noun [uncountable]
1 . the state or right of being protected from particular laws or from unpleasant things
immunity from
They were granted immunity from prosecution.
2 . the state of being immune to a disease
immunity to
immunity to infection
immunity from
immunity from smallpox