During the day, your energy cells break down this other thing in your brain and it makes waste. The waste builds up and makes you want to sleep. When sleeping, that waste goes away. A couple hours after waking up, the waste is all away.
Caffine also makes the waste go away