The gross demonstration of caffeine is that it prevents you from falling asleep. The slightly more nefarious aspect of caffeine is that maybe you can fall asleep, but we know that the depth of deep sleep you're getting if caffeine is still in your system is severely less.
Matthew Walker