In biology, immunity is the balanced state of multicellular organisms having adequate biological defenses to fight infection, disease, or other unwanted biological invasion, while having adequate tolerance to avoid allergy, and autoimmune diseases.
Immunity is the capability of multicellular organisms to resist harmful microorganisms from entering it. Immunity involves both specific and nonspecific components. The nonspecific components act as barriers or eliminators of a wide range of pathogens irrespective of their antigenic make-up. Other components of the immune system adapt themselves to each new disease encountered and are able to generate pathogen-specific immunity.
An immune system may contain innate and adaptive components. The innate system in mammalians for example is composed of primitive bone marrow cells that are programmed to recognise foreign substances and react. The adaptive system is composed of more advanced lymphatic cells that are programmed to recognise self substances and don't react. The reaction to foreign substances is etymologically described as inflammation, meaning to set on fire. The non-reaction to self substances is described as immunity, meaning to exempt or as immunotolerance. These two components of the immune system create a dynamic biological environment where "health" can be seen as a physical state where the self is immunologically spared, and what is foreign is inflammatorily and immunologically eliminated. "Disease" can arise when what is foreign cannot be eliminated or what is self is not spared.
Innate immunity, also called native immunity, exists by virtue of an organisms constitution, that is its genetic make-up, without an external stimulation or a previous infection. It is divided into two types: (a) Non-Specific innate immunity, a degree of resistance to all infections in general. (b) Specific innate immunity, a resistance to a particular kind of microorganism only. As a result, some races, specific individuals or breeds in agriculture do not suffer from certain infectious diseases.