A hexagon can be tiled together with a bunch of other hexagons to form a nice pattern. And while things like circles (or tubes) are structurally sturdier, they waste space.

This is why bees build honeycombs into hexagons; they're sturdy, and don't waste any space.

Wonder how many generations it took them to figure that one out.