It is thought that the Egyptians positioned their pyramids so as to reflect the positions of some stars or constellations. This has to do with ancient religious beliefs. They believed that as above, so below. Heaven is a reflection of Earth, and vice versa. A pyramid is thought to be a kind of stairway to heaven for the deceased pharoah.