Caffeine can keep you awake, even when you need to sleep by using a hormone called adenosine, which masks the urge to sleep.
What is the circadian rhythm, and how it helps regulate sleep
The circadian rhythm has two parts – wakefulness and sleep. It follows a 24-hour rhythm that tells your body when to sleep and when to wake.