Sleeping is the process of resting in a bed, sleeping bag/roll, pile of hay to fully restore your health, magicka, and stamina.
Sleeping in a bed gives a temporary bonus to magicka and health. Beds in player-owned houses provide better bonuses than other beds. If you sleep long enough in an owned or rented bed, you will receive the “Well Rested” bonus which increases the speed of skill mastery by 10% for the next 8 game hours. Bedrolls offer a 5% increase. If you sleep in a bed you own with your spouse, you will receive a “Lover’s Comfort” bonus which increases speed of skill mastery by 15% for 8 hours. This effect can be duplicated by The Lover Stone which confers this bonus for as long as the stone is the player’s active symbol.