Autoimmunity is a condition in which the body's immune system mistakenly attacks its own tissues. Normally, the immune system protects the body from harmful pathogens like bacteria and viruses. However, in autoimmune diseases, the immune system identifies normal cells as foreign and mounts an immune response against them.