A pyramid is a polyhedra with a flat base and triangular sides which meet at the apex. The flat base can be any polygon. Pyramids can come in different forms such as a square pyramid, a rectangular pyramid or even a pentagonal pyramid.