Autoimmunity is a condition where the body's immune system mistakenly attacks its own tissues. Normally, the immune system defends the body against pathogens like bacteria and viruses. In autoimmune diseases, however, the immune system fails to distinguish between foreign invaders and the body’s own cells and tissues.