Which of the following glands in the endocrine system is primarily responsible for regulating metabolism and energy levels in the body?