Alopecia areata occurs when the body's immune system mistakes hair follicles as foreign and attacks them.more