<human>:  Why did the ancient Egyptians build the pyramids?
<bot>: The pyramids were built as tombs for the pharaohs. The pharaohs were considered to be gods on Earth, and the pyramids were built as tombs for them. The pyramids were also used as a way to store the pharaohs' wealth.