The forest moon of Endor, also known as the sanctuary moon or simply as Endor is a fictional moon in the Star Wars fictional universe. It appears in Return of the Jedi as the home to the Ewoks, and is the body that the second Death Star is constructed in orbit around. It is also the location of the Ewok TV movies Caravan of Courage: An Ewok Adventure and Ewoks: The Battle for Endor, as well as the animated series Star Wars: Ewoks (and the Marvel Comics adaptation of the animated series).
The body has no name in Return of the Jedi; it is simply called the "forest moon of Endor". However, no planet is shown in the film for it to orbit as a moon. The novelization explains this by asserting that the planet was destroyed a long time ago. The Ewok television movies, by contrast, show a large gas giant in the moon's skies, but refer to the moon as "Endor". In the Ewoks cartoon, the moon is shown to orbit a binary star.
Along with the Ewoks, the moon is depicted in post-Jedi works as the home of deadly giant Goraxes, tall and timid Yuzzums, evil yet dim-witted Duloks, rodent-like Teeks, vicious condor dragons and a settlement of off-planet reptilian marauders.
The moon and its inhabitants play a pivotal role in the Galactic Civil War in Return of the Jedi: the Rebel Alliance's destruction of the second Death Star occurs in the moon's orbit, and is facilitated by events on the moon's surface. The Second Death Star's shield generator is located on the moon's surface. Rebels led by Han Solo use stolen codes and an Imperial shuttle to land on the surface intent on destroying the generator. The Rebels inadvertently form an alliance with the Ewok inhabitants, who believe C-3PO is "some sort of god." The Ewoks provide guidance and support the Rebels' attack on the Imperial military presence. Once the Rebel Alliance takes down the Death Star's shield, the space station is open to attack; Rebel starfighters, led by Lando Calrissian in the Millennium Falcon, annihilate it.