Another way to say "rooms are containers" is "A room is a contained space in a dwelling."