hibernation

How does hibernation work?