The adrenal cortex is the outer region of the adrenal glands, responsible for producing steroid hormones such as cortisol, aldosterone, and androgens, which regulate metabolism, immune response, blood pressure, and other essential physiological functions. It plays a critical role in the body's response to stress and maintaining homeostasis by modulating the balance of water, sodium, and potassium in the body.