RA occurs when the immune system, which normally defends the body against infection and disease, mistakenly attacks the body’s own tissues. In RA, the immune system targets the synovium, which is the lining of the membranes that surround your joints.