The adrenal glands consist of an outer cortex and inner medulla. The cortex produces mineralocorticoids like aldosterone and glucocorticoids like cortisol. Cortisol regulates metabolism and immune function. Aldosterone regulates sodium and potassium levels. Their release is controlled by the HPA axis and renin-angiotensin system. The medulla produces catecholamines like epinephrine and norepinephrine which increase heart rate and blood pressure through adrenergic receptors. Together these hormones help regulate vital processes and the stress response.