The water molecules are attracted to Na+ (purple spheres) and Cl (green spheres) ions in the solid NaCl. Once surrounded by water, the ions move away from the solid and into the solution.