Cortisol also allows your body to deal with severe physical stress, such as stress created by surgery, illness, an injury or childbirth.