The primary function of the thyroid is to regulate the body's metabolic rate, which is the speed at which consumed food is converted into energy. All cells in the body require energy to function properly. When the thyroid gland malfunctions, various bodily functions, particularly energy levels and metabolic rate, can be adversely affected.