The thyroid is a gland located in the neck that produces hormones that regulate metabolism. The two main hormones produced by the thyroid are thyroxine (T4) and triiodothyronine (T3). These hormones control the body’s energy use and metabolism, and also play a role in regulating body temperature, heart rate, and other bodily functions.