The correct answer is option C, that is, the water molecules attract both the sodium ions and the chloride ions, pulling them together.
Sodium chloride is an ionic compound comprising oppositely charged atoms, known as ions, organized in a lattice composition. When sodium chloride is immersed in water, the ions get attracted to the molecules of water, each carrying a positive charge.
If the attraction between the water molecules and ions is sufficient to dissociate the bonds between the ions together, the compound gets dissolve. When this takes place, the ions break and disperse in solution, each surrounded by molecules of water to inhibit further recombining.