Who were the great pyramids built for?

They were tombs for the pharaohs. Some believe they were aligned with certain constellations. Others believe they were constructed by aliens. You decide.