Water can surround either a (+) or (-) charged ion, thereby isolating the ion from its surrounding ions and neutralizing the forces of attraction that maintain the integrity of the crystal structures.
The ions surrounded (or hydrated) by water molecules can then leave the crystal lattice and become dissolved ions