Sleeping is not just sleeping, now it is also getting some buffs!
When you wake up, you get buffs, simple!
You get 4 minutes of the following buffs: Absorption, Speed, and Resistance
And 8 seconds of Hunger (It can be disabled with /gamerule sleephunger false)

