Certain types of alopecia occur as a result of a malfunction of the body’s immune system making them an autoimmune disease.