The Kojiki, the Japanese record of ancient matters (8th century A.D), records that in the beginning all was chaos. Three deities appeared, and soon afterwards, mysteriously vanished. The new born earth drifted like a jellyfish and floated like oil. Something that resembled a reed shoot sprang up and produced two more deities, and also like the three before them, they too disappeared. A further six generations of divinities came into existence. The last of these were the primal couple, Izanagi (the male who invites) and Izanami (the female who invites).
The other deities directed Izanagi and Izanami to solidify the earth, and so, the primal couple stood upon the floating bridge of heaven and stirred up the earth substance with a jeweled spear. They lifted up the spear and the generated substance dripped from it’s tip, and solidified into an island named Onogoro. The primal couple descended onto the newly formed land and built a palace of eight fathoms (eight is the sacred Japanese number), and they also erected a heavenly pillar.
Afterwards, Izanagi and Izanami compared their bodies, and noticing their physical differences, they decided to unite. They devised a marriage ritual which involved a perambulation of the heavenly pillar. Izanagi proceeded to circulate the pillar in a clockwise direction, while Izanami went around the pillar in an anti-clockwise direction. finally they met, exchanged vows and came together. because Izanami spoke before her husband, their first child was born ritually impure, and so they placed him in a basket, abandoning him to the ocean. They repeated the ceremony correctly — This time Izanagi spoke first — and again they came together, giving birth to the eight Japanese islands.
Subsequently, Izanami gave birth to an array of deities, or ‘Kami’, the last of these Kami was the fire deity Kagutsuchi, who burnt Izanami’s genitals so badly, she died. After her death, Izanami went to reside in Yomi, the Japanese underworld. Full of rage, Izanagi beheads the fire god, and numerous deities are born from his corpse.
Izanagi then visited Yomi, to ask his wife to return with him. however, Izanami had eaten the food of Yomi. She told her husband to wait while she discussed the matter with the underworld gods, and warned him not to look at her. Unable to resist, Izanagi broke the tooth (called wo-bashira, meaning ‘male pillar’) from his hair comb , lit is as a torch, and gazed upon her rotting corpse. Horrified, Izanagi fled, and Izanami sent raging female demons in pursuit. Izanagi managed to evade these demons, so Izanami sent thunder deities and warriors to attack him.
Izanagi finally reached the entrance of yomi, and Izanami, transforming herself into a demon, hastened towards him. Izanagi sealed the entrance to the underworld with a large boulder, and the primordial couple met, for the last time, on the threshold of death and life, and officially disolved their marriage ties.