"Chaos Yuanjun: The Moth Clears the Way to Determine the Universe" is a fairy tale that breaks the shackles of good and evil. It tells the story of the counterattack legend of Lingxi, an orphan girl under Cangwu Mountain. Lingxi, who has an unknown spiritual vein, has been regarded as an alien by the village since he was a child. When a monster attacked, he awakened his spiritual power and saved his younger brother. After encountering the down-and-out elder of the Yunhua Immortal Sect, his ancient "chaos spiritual roots" were discovered and he was able to step into the immortal gate.
The hierarchy of the Immortal Sect is strict, and Lingxi has difficulty cultivating orthodox mental methods due to her special spiritual roots. She is repeatedly bullied but learns the art secretly. During the trial in the secret realm, she mistakenly entered the forbidden area and met Xuanying, the weapon spirit, and was given the ancient magic weapon Youhuang Hairpin. After being betrayed by her fellow disciples, she borrowed the magic weapon to fight back, but she was almost expelled from the school because of forbidden spiritual power.
When she was demoted to the border, Lingxi broke through Murong's conspiracy to plunder the spiritual veins of mortals, and joined forces with Ye Chen, the young master of the hidden demon clan, to break the situation. After returning to the Immortal Sect, she merged her chaotic spiritual roots with orthodox mental methods, and emerged in the sect competition, and even exposed Murong's crimes at the Hongmen Banquet.
The boundaries of the Three Realms were loosened, and the ancient evil object "Erotic Heart Abyss" appeared in the world. The head of the Immortal Sect wanted to sacrifice Lingxi to seal the evil object, so she was forced to betray the Immortal Sect. Ye Chen led the demon clan leader and faction to help, and Lingxi joined forces with fellow immortals to form an alliance to reveal the truth that Erotic Heart Abyss is controlled by the remnant soul of the ancient demon god.
After a near-death experience, Lingxi awakened the power of the gods in her body, integrated the three powers of immortals, demons, and gods, and used the ghost phoenix hairpin as a medium to seal the demon. After the war, she reconstructed the boundaries of the three realms, broke the opposition between immortals and demons, and was revered as the "Primordial Lord of Chaos". She chose to stay at Cangwu Mountain to protect all living beings. Yechen gave up the position of young master to accompany her. The two realms of immortals and demons have since then coexisted peacefully.