As a steroid hormone that comes from the adrenal glands, cortisol can impact several functions from memory to blood sugar levels. It also gets released as a part of fight or flight response. Cortisol suppresses some bodily functions during extreme stress to prepare the body for fighting.