Moths are near relatives to butterflies, although, unlike butterflies, most of the former are nocturnal. Also unlike butterflies, the larva of many moths are immensely destructive pests, both in the agricultural industry and personal residences. Larva of the Gypsy Moth are responsible for great damage to North-Eastern forests in the United States. At home, they can ruin everything from flour to clothes, bed linens and furs. While cedar or juniper wood can serve as a mild repellent against moths, they won't remove a major infestation.
For DIY control of moth infestations, Partners has a number of effective and safe products.