Hibernate dumps the content of RAM to the hard disk and then turns the computer off. When you start up again it will load it into memory and you will continue from where you left off. Very generalised description but that's basically it.