Sleep is essential for well-being, and cortisol plays a key role in regulating alertness and the sleep-wake cycle.