A 3D hexagon is called a hexagonal prism. It has two hexagons for bases and six rectangular sides. A hexagonal prism is classified as an octahedron, which is a three-dimensional geometric object with eight faces.
Many pencils are in the shape of a long hexagonal prism before they are sharpened. A hexagon is classified as a six-sided polygon, which is a geometric object with line segments joining a number of points. Patterns containing hexagons are frequent in nature because they are efficient. In a grid with a hexagonal pattern, lines are the shortest possible to fill the area with the fewest number of hexagons. The pattern allows honeycombs to use less wax to construct and to remain strong under compression.