Protection against a disease. There are two types of immunity, passive and active. Immunity is indicated by the presence of antibodies or other components in the blood and can usually be determined with a laboratory test. See active and passive immunity.