Many legends and speculation in Egyptian mythology surround the pyramids. Why were they built, and how were they built? They have been described as burial tombs for the pharaohs, and giant observatories. Speculation also exists they were ceremonial sites where the ancients performed secret rituals.