In the Chinese origin story of "Pan Gu and the Egg of the World," Pan Gu is a primordial being who emerged from the cosmic egg that contained the universe. He is said to have grown over a long period, and as he grew, he created the world around him. Pan Gu separated the chaos of the universe into distinct elements, such as earth, sky, and oceans. He also shaped the mountains and valleys.
However, what ultimately became of Pan Gu in the story is that he sacrificed himself for the creation of the world. When he died, his various body parts transformed into different elements of the Earth. For example, his breath became the wind, his voice became thunder, his eyes turned into the sun and the moon, and his body and limbs became the mountains and rivers. In this way, Pan Gu's sacrifice is believed to have given rise to the diverse elements and features of the world in Chinese mythology.