We don't know if cats understand sleep in the same way that we do, but they are undoubtedly aware of our bedtime routine and that we are less responsive when we are asleep. Mind you, you've probably noticed that cats don't necessarily respect our sleep despite being aware of it on some level!