The water dissolves the salt because the water molecules are able to interact with the salt-forming particles, called ions. When the water Interacts with the trainers of the salt ions, the solid salt crystal structure Suffers breakdown, until the trainers of the salt ions are completely surrounded by water molecules. At this time the salt is fully dissolved by water.
hope this helps!