Bees make honeycomb cells to store their honey and pollen. The cells can have different shapes like triangles, squares, or hexagons. Hexagonal cells use less wax and require less energy for bees to make compared to other shapes.
This is why bees prefer to make hexagonal cells as it saves them energy and resources, just like how builders try to save money on materials.