Mayan pyramids were built for sacrificial rituals or for sacred ceremonies. The pyramids built for sacrifices were flat on top, while the sacred pyramids were too steep to climb. The pyramids were stepped structures built by using flat platforms with each level being slightly smaller than the previous level.