Hydrogen cyanide is used in the manufacture of cyanide salts, acrylonitrile and dyes. It is also used as a horticultural fumigant. It is used commercially for fumigation, electroplating, mining, chemical synthesis, and the production of synthetic fibres, plastics, dyes, and pesticides.