What happens when Windows goes into sleep mode?

When you have to take a short break while working, you don’t have to shut your computer down completely; instead, put it to sleep and quickly get on with it after the break.