The adrenal glands are small, triangular-shaped glands located on top of each kidney. They play a crucial role in producing hormones that regulate metabolism, immune system, blood pressure, and stress responses. The adrenal glands consist of two main parts: the cortex and the medulla.