Sleeping

Sleeping is the action of lying in a bed and skipping to dawn. To sleep, it has to be night time and there must be no hostile mobs near your bed. Once it is dark enough, press on your bed and you will be in it with a "Leave Bed" button. You will instantly skip to dawn. In multiplayer, all players must be in bed in order to skip to dawn.

Trivia

 * Mojang has stated on Twitch that the health-healing exclusive feature of sleeping in a bed in Pocket Edition will be removed in Update 0.9.0.