Cortisol is produced and secreted by the adrenal glands , two triangular organs that sit on top of the kidneys. Production of the hormone is regulated by the hypothalamus in the brain and by the pituitary gland , a tiny organ located below the brain. When the blood cortisol level falls, the hypothalamus releases corticotropin-releasing hormone (CRH), which directs the pituitary gland to produce ACTH (adrenocorticotropic hormone). ACTH stimulates the adrenal glands to produce and release cortisol. In order for appropriate amounts of cortisol to be made, the hypothalamus, the pituitary, and the adrenal glands must be functioning properly.
Glucocorticoids are potent anti-inflammatories, regardless of the inflammation's cause; their primary anti-inflammatory mechanism is lipocortin-1 (annexin-1) synthesis. Lipocortin-1 both suppresses phospholipase A2 , thereby blocking eicosanoid production, and inhibits various leukocyte inflammatory events ( epithelial adhesion , emigration , chemotaxis , phagocytosis , respiratory burst , etc.). In other words, glucocorticoids not only suppress immune response, but also inhibit the two main products of inflammation, prostaglandins and leukotrienes . They inhibit prostaglandin synthesis at the level of phospholipase A2 as well as at the level of cyclooxygenase /PGE isomerase (COX-1 and COX-2),  the latter effect being much like that of NSAIDs , potentiating the anti-inflammatory effect.