Adrenal glands consist of two main parts: the adrenal cortex and the adrenal medulla. The cortex produces steroid hormones like cortisol and aldosterone, while the medulla produces catecholamines, including adrenaline and noradrenaline. These hormones are crucial for maintaining homeostasis and responding to stress.