Fun fact: Apparently, cats do this sort of thing because they're very light sleepers.
Cats sleep on average 12-16 hours per day, but all in very light naps, throughout the day. The only time a cat goes into a deep sleep is when they're injured or sick, and need the extra rest to recuperate.
So...