immunity, ability of an organism to resist disease by identifying and destroying foreign substances or organisms. Although all animals have some immune capabilities, little is known about nonmammalian immunity. Mammals are protected by a variety of preventive mechanisms, some of them nonspecific (e.g., barriers, such as the skin), others highly specific (e.g., the response of antibodies).