Dissociation of Sodium Chloride in Water

Dissociation of sodium chloride in water. This video shows what happens at the molecular level and it also shows a relevant chemical formula

Notice how when the ionic compound breaks apart it forms ions. This is why this solution will be an electrolyte(conduct electricity).