The primary use for naphthalene is in the production of phthalic anhydride. Other uses of naphthalene include carbamate insecticides, surface active agents and resins, as a dye intermediate, as a synthetic tanning agent, as a moth repellent, Chemical Intermediate, explosives, plastics, lubricants and in miscellaneous organic chemicals. It is also used in manufacturing of SNF, beta napthol, tanning agents, moth balls, pharmaceuticals and domestic disinfectants. It is used as a surfactant in the agricultural, textile or fabric industries. In Special Effects and Pyrotechnics, Naphthalene produces a large explosion of black smoke that may be used for movies or military training.