The endocrine system regulates body functions through hormones. It includes glands that secrete hormones directly into the bloodstream, such as the pituitary gland. The pituitary gland controls many other glands and produces growth hormone and thyroid stimulating hormone. The thyroid gland produces thyroid hormones which control metabolism. Other glands include the pancreas, which produces insulin and glucagon to regulate blood sugar, and the adrenal glands, which produce cortisol and other hormones involved in stress response.