Beds are used for sleeping. All inns have beds. Also some campfires have a bed. To sleep, walk up to a bed and press R-key when it says sleep. While sleeping the time in game advances one minute per real life second. To stop sleeping simply move your player. Sleeping is particularly useful when you want to reset the night to day and there are no cities neirby. New day also resets available quests.Edit