Autoimmunity occurs when your immune system—your body's defense against invaders—becomes confused. In other words, your body is fighting something, whether that's infections, toxins, allergens, or a stress response. But somehow, that immune army can't distinguish friend from foe. Your own tissue gets caught in friendly crossfire, and your joints, brain, skin, and sometimes your whole body become casualties.