Humanity (First Secondary)

What is the purpose of pyramids in ancient Egypt?

Pyramids were built as tombs for pharaohs and to honor their legacy in the afterlife.