immunity

noun
  1. the body’s ability to resist or fight off infection and disease
  2. Usage: medical
  3. protection or exemption from something, especially from legal prosecution or penalty
  4. Usage: legal
  5. the state of being unaffected by or not subject to something harmful or unpleasant

Examples