Sodium chlorite is derived indirectly from sodium chlorate, NaClO. Hydrochloric acid and potassium chlorate give chloranil. The lineae contain hydrated chlorate and perchlorate salts (), which contain liquid water molecules. Sulfonation with sulfuric acid gives anthroquinone-1-sulfonic acid, which reacts with sodium chlorate to give 1-chloroanthaquinone. Sodium chlorate has a soil sterilant effect. However this sodium chlorate is mostly replaced by potassium chlorate. Potassium chlorate is used also as a pesticide. Bertholet in 1786 discovered that oxidations with potassium chlorate resulted in a violet emission. Impurities in potassium chlorate itself can also cause problems. Sodium chloroplatinate, in contrast to potassium chlorate, does not cause grain. However, investigators discovered the bomb was made from potassium chlorate, aluminium powder, and sulfur. The decomposition of potassium chlorate was also used to provide the oxygen supply for limelights. This reaction is exploited in the industrial production of sodium chlorate. Also, mixtures of potassium chlorate with any compound with ignition promoting properties (ex. The main commercial use for sodium chlorate is for making chlorine dioxide (ClO).