Barium chlorate in some sodium contamination, which is undesirable for pyrotechnic purposes, where the strong yellow of sodium can easily overpower the green of barium. Sodium-free barium chlorate can be produced directly through electrolysis: It can also be produced by the reaction of barium carbonate with boiling ammonium chlorate solution: The reaction initially produces barium chlorate and ammonium carbonate; boiling the solution decomposes the ammonium carbonate and drives off the resulting ammonia and carbon dioxide, leaving only barium chlorate in solution. When exposed to heat, barium chlorate alone will decompose to barium chloride and oxygen: Barium chlorate is used to produce chloric
Barium chloride soluble in water. On an industrial scale, it is prepared via a two step process from barite (barium sulfate): This first step requires high temperatures. In place of HCl, chlorine can be used. Barium chloride can in principle be prepared from barium hydroxide or barium carbonate. These basic salts react with hydrochloric acid to give hydrated barium chloride. Although inexpensive, barium chloride finds limited applications in the laboratory and industry. In industry, barium chloride is mainly used in the purification of brine solution in caustic chlorine plants and also in the manufacture of heat treatment salts, case hardening of steel.