An immune system is a collection of mechanisms within an organism that protects against disease by identifying and killing pathogens and tumor cells. It detects a wide variety of agents, from viruses to parasitic worms, and needs to distinguish them from the organism’s own healthy cells and tissues in order to function properly. Detection is complicated as pathogens adapt and evolve new ways to successfully infect the host organism.
Disorders in the immune system can cause disease. Immunodeficiency diseases occur when the immune system is less active than normal, resulting in recurring and life-threatening infections. Immunodeficiency can either be the result of a genetic disease, such as severe combined immunodeficiency, or be produced by pharmaceuticals or an infection, such as the acquired immune deficiency syndrome (AIDS) that is caused by the retrovirus HIV. In contrast, autoimmune diseases result from a hyperactive immune system attacking normal tissues as if they were foreign organisms. Common autoimmune diseases include rheumatoid arthritis, diabetes mellitus type 1 and lupus erythematosus. These critical roles of immunology in health and disease are areas of intense scientific study.