The pyramids of Egypt were built as burial places to great Pharaohs. The pyramids had mazes with themselves so that the burial place would not be burglarized. The pyramids would contain several rooms and many of the rooms would contain treasures that the Pharaohs would keep for themselves an hopes of bringing them into the afterlife. The Pharaohs would be buried in a huge sarcophagus with many heirolglyphics. The Pharaohs would have to go through an intense process known as mummification.
Mummification is a process where the dead had to go through in order to be buried in Egypt.
These pyramids were mostly found at Giza and Cairo in Egypt.