What’s Hibernation and Shut Down?

I don't know about the difference hibernating and shutting down a PC. I, at least, know that shut down takes a lot of time and hibernation doesn't but what are the differences between hibernating and shutting down a PC? And I get the unhandled exception error while running .exe files after hibernation, what the meaning of this?
