Thyroid Gland Autoimmune diseases. Function: Endocrine gland that produces secretes thyroid hormones.