A disorder in which the body’s immune system attacks hair follicles, resulting in hair loss.