The ancient Egyptians had an elaborate set of funerary practices that they believed were necessary to ensure their immortality after death (the afterlife). These rituals and protocols included mummifying the body, casting magic spells, and burial with specific grave goods thought to be needed in the Egyptian afterlife.
The ancient Egyptian burial process evolved over time as old customs were discarded and new ones adopted, but several important elements of the process persisted. Though specific details changed over time, the preparation of the body, the magic rituals, and grave goods were all essential parts of a proper Egyptian funeral.
There were many different gods to prepare for. The ancient Egyptians believed that each god would separately judge the deceased before he could enter the afterlife.
Though no writing survives from Predynastic Egypt, scholars believe the importance of the physical body and its preservation originated there. This would explain why people of that time did not follow the common practice of cremation, but rather buried the dead. Some also believe they may have feared the bodies would rise again if mistreated after death.
Early bodies were buried in simple, shallow oval pits, with a few burial goods. Sometimes multiple people and animals were placed in the same grave. Over time, graves became more complex, with the body placed in a wicker basket, then later in wooden or terracotta coffins. The latest tombs Egyptians made were sarcophaguses. These graves contained burial goods like jewelry, food, games and sharpened splint.
This demonstrates that this ancient period had a sense of the afterlife, though archaeological evidence may show the average person had little chance of getting into it. This may be because admission required that the deceased must be able to serve a purpose there. The pharaoh was allowed in because of his role in life, and others needed to have some role there.
Human sacrifices found in early royal tombs reinforce this view. These people were probably meant to serve the pharaoh during his eternal life. Eventually, figurines and wall paintings begin to replace human victims. Some of these figurines may have been created to resemble certain people, so they could follow the pharaoh after their lives ended.