Tui, the Moon Spirit, is one of two spirits that reside in the Spirit Oasis at the North Pole, just outside the Northern Water Tribe's capital city. Tui and her counterpart, La, circle each other in an eternal dance of pushing and pulling. Tui is one of the few entities known to have traveled into outer space.
Thousands of years before the Hundred Year War, Tui and La decided to manifest themselves in the physical world to benefit mankind, taking up residence in an alcove in the Northern Water Tribe's capital city. They created the oasis in the North Pole and took the form of two koi fish. Thus, the Spirit Oasis in the city became its most treasured landmark. Tui took the form of a white koi fish with a large black spot on its head.
When PrincessYue was a baby, she was taken by her father, ChiefArnook, and his wife to the Spirit Oasis. She had been born gravely ill, very weak, and on the brink of death. The chief dipped her in the pool at the Spirit Oasis and prayed to the spirits to save her life. Tui answered the prayers, causing Yue's black hair to turn white and the young princess began to cry. Although Tui had healed Yue, Chief Arnook had a dream that one day his daughter would have to take Tui's place as the Moon Spirit.
Many years later, AdmiralZhao, on behalf of the Fire Nation, launched an attack on the capital city of the Northern Water Tribe. The Fire Nation Navy arrived at the city, eventually destroying its protective locks and dams and steadily advanced into its interior. Determined to make a legend of himself, Zhao advanced with his personal guard to the back of the royal palace to kill the Moon Spirit, as he had planned to do ever since he had discovered its physical existence at Wan Shi Tong's Library. Zhao caught Tui in a bag, causing the spiritual equivalent of a lunar eclipse, thereby removing the power of all waterbenders worldwide. However, Iroh intervened and threatened Zhao, informing him that any injurious actions inflicted on the spirit would be unleashed on him tenfold. To the horror of Katara, Aang, and Iroh, Zhao abruptly murdered Tui after appearing to release it, destroying the moon altogether. In anger, Iroh lashed out at Zhao and incapacitated his guards. Zhao managed to escape Iroh, only to be attacked by Zuko. Meanwhile, Aang entered the Avatar State and became one entity with La; he defeated the Fire Nation invasion force on land. He eliminated the threat of the fleet by bending massive waves that washed all of the ships away from the Northern Water Tribe.
Iroh realized that Yue held Tui's life energy inside of her, since it had given some of its life to her when she had been born. Yue made the choice to sacrifice her life in order to resurrect Tui over Sokka's objections, since he was tasked with protecting her. After she brought back Tui, not only did the moon return to its full power, but Yue's physical body disappeared from Sokka's arms and reformed as Yue's spirit form, making her the new Moon Spirit. In this form, she kissed Sokka one last time and disappeared.
By having her life force re-bound with Tui, Yue not only became Tui's successor, but also gained the ability to waterbend, a trait she had not carried in life. She demonstrated her abilities to some extent when she generated a massive wave on which Aang could ride toward the island where Roku's temple once stood.
"Tui" (推) means "push" in Mandarin Chinese, compared to "La" (拉), which means "pull". According to Princess Yue, the ancient waterbenders saw the tides push and pull, giving a hint to the two spirits' existence in the tribe.
In The Last Airbender, Zhao associated the Moon Spirit with Yang (white, male) and Pull (拉, Lā), a different convention than the animated series; as such, Yue referred to the Moon Spirit as male.
It is ironic that Zhao killed the white, masculine counterpart of the Yin and Yang symbol as in Taoism, it represents the sun and fire, while Yin, the dark and feminine part, represents the moon and water.
Including Aang's fatal injury sustained in "The Crossroads of Destiny", from which he was resurrected shortly thereafter, Tui was the first of eight characters to have been observed dying or being murdered in the original series, though she was resurrected soon afterward by Yue's sacrifice. In chronological order, the others were Yue, Chin, Jet, Aang, Roku, Fang, and Combustion Man.
The Moon is considered the original waterbender. Members of the Water Tribe used to watch how the Moon pushed and pulled the tides and learned how to do it themselves, which makes waterbending the only bending art that was not learned from an animal species.
A petroglyph depicting Tui and La encircling each other was present on the stone wall behind the waterfall in Tarrlok's office.