A pyramid is a three-dimensional shape, usually a building, that has the sides made out of identical triangles. The base of a pyramid is usually a square but sometimes is a triangle too. Square-based pyramids are easier to build. In Egypt, pyramid-shaped tombs were built for their royal family. Inside the pyramid were lots of chambers for dead members of the family and supplies that they thought would be needed in the afterlife.