The Egyptians built most of the pyramids to use as tombs for Egyptian royalty; they also built them as a safe resting place for the pharaoh. Inside the Pyramids, the Egyptians were buried, and their tombs were decorated with hieroglyphics. The article from History.com states that "The pyramid's smooth, angled sides symbolized the rays of the sun and were designed to help the king's soul ascend to heaven and join the gods, particularly the sun god Ra.". As a result, the corpse was mummified and buried with gold vessels, food, furniture, and other offerings to care for the dead pharaoh's spirit.