Another way to say "a bedroom is used for sleeping" is "People sleep in bedrooms."