What is salt made out of?

Table salt, also known as sodium chloride (NaCl), is a chemical compound that consists of equal parts sodium and chloride ions. These ions are arranged in a cubic crystal lattice, which gives salt its characteristic shape and properties. Salt is an essential mineral for human health, as it helps regulate the body's fluid balance and muscle function. It is also used as a food preservative and flavor enhancer.