Pyramids were built in Ancient Egypt as tombs, or burial places, for Egyptian pharaohs, or kings. They believed that the pyramids made you immortal. The Ancient Egyptians believed in an afterlife, so it was very important to them to protect the bodies of their pharaohs. In order to keep the body of the pharaoh safe, the insides of the pyramids were like mazes with secret doors and dead-end passages. The pharaoh would be near the bottom or even underground.
The Great Pyramid was built to serve as a tomb for the king at the time...Cheops or Khufu (in arabic), it houses his tomb as well as all of his treasures that he would take on to the afterlife. King Khufu's son and grand son (followed suit and produced the next 2 pyramids respectively. This wikepedia site is very accurate (I contributed to it myself):
is the oldest and largest of the three pyramids in the Giza Necropolis bordering what is now El Giza, Egypt. It is the oldest of the Seven Wonders of the Ancient World, and the only one to remain largely intact. It took over a 10 to 20-year period concluding around 2560 BC. Initially at 146.5 metres, the Great Pyramid was the tallest man-made structure in the world for over 3,800 years. There have been varying scientific and alternative theories about the Great Pyramid's construction techniques. Most accepted construction hypotheses are based on the idea that it was built by moving huge stones from a quarry and dragging and lifting them into place.
The interesting thing about the direction in which the sides of the Great Pyramid of Giza faces is that all the four faces point towards the 4 cardinal points. The entrance is on the northern side.
The distance from the pyramid to the North Pole is the same as the distance from the pyramid to the Earth’s core.