Ancient Egyptian religion was a complex system of polytheistic beliefs centered around interacting with deities that controlled nature. Formal practices focused on sustaining the gods through rituals and offerings led by the pharaoh, who was believed to be descended from the gods. Major gods included Amun the king of gods, Ra the sun god, Geb the god of earth, Anubis the god of embalming, and Osiris who was murdered by his brother Seth and resurrected by his wife Isis. Mummification was used to prepare bodies for the afterlife by removing organs and preserving the body.