Cortisol is a steroid hormone, in the glucocorticoid class of hormones. When used as a medication, it is known as hydrocortisone. It is produced in many animals, mainly by the zona fasciculate of the adrenal cortex in the adrenal gland. It is produced in other tissues in lower quantities. It is released with a diurnal cycle and its release is increased in response to stress and low blood-glucose concentration. It functions to increase blood sugar through gluconeogenesis, to suppress the immune system, and to aid in the metabolism of fat, protein, and carbohydrates. It also decreases bone formation.