Ancient Egyptians believed that, upon death, the body seperated into different parts, such as the ba, the animating spirit, and the ka, a replica of the body. Funeral customs were intended to provide the ka with all the resources it would need after the physical body's death. If not, it could become a vengeful spirit that sought retribution.