Sodium chloride, commonly known as edible salt, is an ionic compound with the chemical formula NaCl, representing a 1:1 ratio of sodium and chlorine ions. It is transparent or translucent, brittle, hygroscopic, and occurs as the mineral halite. In its edible form, it is commonly used as a condiment and food preservative.