A cosmic ocean, primordial waters, or celestial river is a mythological motif that represents the world or cosmos enveloped by a vast primordial ocean. Found in many cultures and civilizations, the cosmic ocean exists before the creation of the earth. From the primordial waters the earth and the entire cosmos arose. The cosmic ocean represents or embodies chaos. The cosmic ocean takes form in the mythology of Ahl-e Haqq, Alevism, Ancient Egyptian, Ancient Greek, Judaism, Ancient Indian, Ancient Persian, Sumerian, and Zoroastrianism. The primacy of the ocean in some creation myths corresponds to the cosmological model of land surrounded by the world ocean. The sky is often thought of as something like the upper sea. The concept of a watery chaos also underlies the widespread motif of the worldwide flood that took place in early times. The emergence of earth from water and the curbing of the global flood or underground waters are usually presented as a factor in cosmic ordering. In ancient creation texts, the primordial waters are often represented as having filled the entire universe and are the first source of the gods. The act of creation is the establishment of an inhabitable space separate from the enveloping waters. The cosmic ocean is the shape of the universe before creation. The ocean is boundless, unordered, unorganized, amorphous, formless, dangerous, terrible. In some myths, its cacophony is noted, opposed to the ordered rhythm of the sea. Chaos can be personified as water or by the unorganized interaction of water and fire, The transformation of chaos into order is also the transition from water to land. In many ancient cosmogonic myths, the ocean and chaos are equivalent and inseparable from each other. The ocean remains outside space even after the emergence of the land. At the same time, the ability of the ocean to generate is realized in the appearance of the earth from it and in the presence of a mythological creature in the ocean that promotes generation or, on the contrary, zealously defends the "old order" and prevents the beginning of the chain of births from the ocean.