Moon

The is a planetary body orbiting the world. The moon was created by the first jinchūriki, the Sage of the Six Paths, through his Chibaku Tensei technique. The Sage collected a massive amount of earth to seal the physical remains of the Ten-Tails after he used his Creation of All Things ability to divide its chakra into the nine tailed beasts, and then launched the stone prison into space, thus creating the moon.

Madara Uchiha, after awakening the Rinnegan, released the seal placed on the empty vessel of the Ten-Tails and summoned it back to earth.

Madara's ultimate plan, that was later adopted by Obito Uchiha, the Eye of the Moon Plan, involves reviving the Ten-Tails through joining the other tailed beasts, becoming its jinchūriki, and then projecting his Sharingan onto the moon in order to cast his "Infinite Tsukuyomi": a perpetual, world-scale genjutsu cast on every living being on the planet, which will allow Tobi to control and unite them to create a world with neither war nor hatred, making himself the ruler of the world.

Trivia

 * According to Gaara, Shukaku relishes the opportunity to kill anyone in sight at any time because of its innate rage and blood-lust, but especially so during the full moon.