Many patients who undergo surgery need lifelong medication to compensate for the loss of the thyroid, a butterfly-shaped gland in the throat that regulates the release of hormones that control growth, energy, mood, body temperature and other functions.