Located in the neck, the thyroid gland produces hormones that regulate metabolism and energy levels in the body.