Why do bees use hexagons?

Bee builder

Rooms without gaps