Cortisol plays a role in the body's fight-or-flight response, mobilizing energy reserves to deal with stress. Elevated cortisol levels can lead to fat storage, especially visceral fat around the abdomen. It also encourages the conversion of blood sugar into stored fat, contributing to weight gain.