Study of the immune system's ability to attack the body's own cells and tissues, leading to autoimmune diseases.