Canopic jars were used in the mummification process. The removed body parts were cleaned and mummified then placed into four special jars called canopic jars. Each canopic jar had a lid with the head of a god. Imsety (a male headed god) guarded the liver. Qebehsenuef (a falcon-headed god) held the intestines. Hapy (a baboon-headed god) looked after the lungs and Duamutef (a jackal-headed god) guarded the stomach. The heart remained in the body as it was believed to be important in a ceremony that took place in the afterlife.