DHEA, or dehydroepiandrosterone, is a steroid hormone produced primarily by the adrenal glands that serves as a precursor to both male and female sex hormones, including testosterone and estrogen. It plays a crucial role in the endocrine system by influencing various physiological processes, such as metabolism, immune function, and overall hormonal balance in the body.