The adrenal glands are small, triangular-shaped glands located on top of each kidney. They play a crucial role in the endocrine system by producing various hormones that are essential for life. These hormones regulate metabolism, immune response, blood pressure, and response to stress.