When the salt (NaCl) is added to ice, sodium and chlorine separate. Ions of chlorine ally to molecules of water, what causes breaking of molecule forces that hold together the ice crystal. The energy needed for breaking these forces comes from water and this causes the temperature to decrease. This experiment is very useful for quick preparation of ice cream.