The Ennead of Heliopolis tells the story of creation centered around Atum, the first god, who emerged from the chaotic waters of Nun. Atum, often depicted as a self-created deity, brought forth the twin deities Shu, god of air, and Tefnut, goddess of moisture, by spitting or coughing them out. These two then gave birth to Geb, the earth god, and Nut, the sky goddess. From their union came Osiris, Isis, Set, and Nephthys, forming the Ennead, a group of nine deities. This myth emphasizes the power of creation through divine will and the subsequent emergence of order from chaos.
In Hermopolis, the Ogdoad myth presents a different version of creation. Here, eight primordial deities existed in male and female pairs, representing elements like darkness, water, and chaos. These pairs were Amun and Amaunet, Heh and Hauhet, Kek and Kauket, and Nun and Naunet. They resided in the watery abyss before merging their powers to create a primordial mound, from which the sun god Ra emerged, illuminating the world. This story highlights the collaboration of fundamental forces to bring forth light and life.