Salt is mostly sodium chloride, the ionic compound with the formula NaCl, representing equal proportions of sodium and chlorine. In its edible form of table salt, it is commonly used as a condiment and food preservative. Large quantities of sodium chloride are used in many industrial processes, and it is a major source of sodium and chlorine compounds used as feedstocks for further chemical syntheses.