It keeps more than the RAM going. Maybe depends on the sleep state. I can charge my phone from my computer while it's sleeping, and of course wake it up from the mouse/keyboard. And I think there are even sleep states that keep the fans going. I'm sure I've had to change something on one of my computers to stop the fans when it sleeps.
EDITED: 30 Sep 2014 21:47 by CHRISSS