According to historical records and archaeological research, it was the tombs of monarchs and their family members, although here and there a tomb, but smaller, had a tomb built by one of the highest officials. Originally, they were just a kind of mounds above the graves, later square buildings with a tomb - mastas, which later passed into a stepped pyramid (Djoser). They were originally oriented to the stars, but later changed their religion to orient themselves to the sun, and as a symbol of wealth and power, these pyramids were covered with stone slabs to form smooth quadrangular pyramids. What was obviously of religious significance. The very shape of the pyramid is actually a stylized shape of the original mound in the shape of a hill growing out of nothing as a symbol of the origin of life and rebirth. At the same time, they were the tomb and treasury of the dead pharaoh. some short bla-bla-bla has * Aunt Wiki and you can see more using the search engine * Pyramid of Giza **