According to Mani, the unfolding of the universe takes place with three “creations”:
The First Creation: Originally, good and evil existed in two completely separate realms, one the World of Light, ruled by the Father of Greatness together with his five Shekhinas (divine attributes of light), and the other the World of Darkness, ruled by the King of Darkness. At a certain point, the Kingdom of Darkness notices the World of Light, becomes greedy for it and attacks it. The Father of Greatness , in the first of three “creations” (or “calls”), calls to the Mother of Life, who sends their son Original Man (Nāšā Qaḏmāyā in Aramaic), to battle with the attacking powers of Darkness, which include the Demon of Greed. The Original Man is armed with five different shields of light (reflections of the five Shekhinas), which he loses to the forces of darkness in the ensuing battle, described as a kind of “bait” to trick the forces of darkness, as the forces of darkness greedily consume as much light as they can. When the Original Man comes to, he is trapped among the forces of darkness.
The Second Creation: Then the Father of Greatness begins the Second Creation, calling to the Living Spirit, who calls to his five sons, and sends a call to the Original Man (Call then becomes a Manichaean deity). An answer (Answer becomes another Manichaean deity) then returns from the Original Man to the World of Light. The Mother of Life, the Living Spirit, and his five sons begin to create the universe from the bodies of the evil beings of the World of Darkness, together with the light that they have swallowed. Ten heavens and eight earths are created, all consisting of various mixtures of the evil material beings from the World of Darkness and the swallowed light. The sun, moon, and stars are all created from light recovered from the World of Darkness. The waxing and waning of the moon is described as the moon filling with light, which passes to the sun, then through the Milky Way, and eventually back to the World of Light.
The Third Creation: Great demons (called archons in bar-Khonai’s account) are hung out over the heavens, and then the Father of Greatness begins the Third Creation. Light is recovered from out of the material bodies of the male and female evil beings and demons, by causing them to become sexually aroused in greed, towards beautiful images of the beings of light, such as the Third Messenger and the Virgins of Light. However, as soon as the light is expelled from their bodies and falls to the earth (some in the form of abortions – the source of fallen angels in the Manichaean myth), the evil beings continue to swallow up as much of it as they can to keep the light inside of them. This results eventually in the evil beings swallowing huge quantities of light, copulating, and producing Adam and Eve. The Father of Greatness then sends the Radiant Jesus to awaken Adam, and to enlighten him to the true source of the light that is trapped in his material body. Adam and Eve, however, eventually copulate, and produce more human beings, trapping the light in bodies of mankind throughout human history. The appearance of the Prophet Mani was another attempt by the World of Light to reveal to mankind the true source of the spiritual light imprisoned within their material bodies.
– Quote taken from faruquez.blogspot.ie