Endocrine gland
The adrenal glands are located above the kidneys in humans and in front of the kidneys in other animals. The adrenal glands produce a variety of hormones including adrenaline and the steroids aldosterone and cortisol. It controls the behaviour during crisis and emotional situations. It stimulates the heart and its conducting tissues and metabolic processes.
Adrenal medulla
The adrenal medulla consists of irregularly shaped cells grouped around blood vessels. These cells are intimately connected with the sympathetic division of the autonomic nervous system (ANS). In fact, these adrenal medullary cells are modified postganglionic neurons, and preganglionic autonomic nerve fibers lead to them directly from the central nervous system. The adrenal medulla therefore affects available energy, heart rate, and metabolism. Recent research indicates that the adrenal medulla may receive input from higher-order cognitive centers in the prefrontal cortex as well as the sensory and motor cortices, providing credence to the idea that there are psychosomatic illnesses.