Sleep is a period of rest that alternates with wakefulness. You have internal body clocks that control when you are awake and when your body is ready for sleep. These clocks have cycles of approximately 24 hours. The clocks are regulated by multiple factors, including light, darkness, and sleep schedules. Once asleep, you cycle through the stages of sleep throughout the night in a predictable pattern.