A bed is a piece of furniture or location primarily used as a place to sleep. To make beds more comfortable, the top layer is frequently a mattress.