Moth is the closest planet in the Naboo system to the sun, also named Naboo. When the colonists first crash-landed on Naboo proper, they quickly managed to get a ship back up into space, although it wasn't hyperspace-worthy. They flew through the Naboo system to perform an analysis of their surroundings. One of the first planets they examined in the Naboo System was Moth.
Full of valuable minerals that were long since stripped away, Moth is now of little value, save for a scientific research outpost deep beneath the crust, utilizing the various mine shafts to protect them from Naboo's vicious heat.
During the height of the Empire, these self-same mine shafts were used by smugglers and other malcontents to hide from Imperial authority. In fact, Moth even had a small cantina that was permanently staffed by some of these rather disreputable personages. However, approximately 7 BBY, the Imperial government discovered the smuggler's haven, and chased them out. Ever since then, the government in control of Moth has kept an eye on the otherwise worthless planet to insure that no more malcontents have a base of operations within their system.