Immunity is an evolutionarily acquired ability of an organism to prevent the pathological action of foreign agents, primarily of infectious agents. Apart from this, the immune system itself is capable of causing tissue damage and the development of diseases caused by hypersensitivity. Two types of immunity ensure protection of the body: innate (natural) and acquired (adaptive) immunity.