The adrenal medulla is the inner part of the adrenal gland, which is located on top of each kidney. It is part of the sympathetic nervous system and is responsible for the production and secretion of hormones involved in the body's response to stress and emergencies.