Another way to say "beds are used to sleep" is "You can sleep in a bed."