The chemical name of rock salt is sodium chloride. It has the chemical formula NaCl. It is a naturally occurring mineral that is found in large quantities in salt mines. It is an ionic compound, meaning that it is composed of positively charged sodium ions and negatively charged chloride ions. Sodium chloride is essential for human life and is used in a variety of ways, including as a food seasoning, a preservative, and in the production of other chemicals.