When salt dissolves in water, negative and positive ions are pulled in opposite ways by an electrical field, which creates an electrical current. The ions that are created include sodium, which has a positive change, and chloride, which has a negative charge.
Electricity can be defined as the flow of charges. A variety of minerals can dissolve in water to make it a better conductor of electricity. Pure water does not contain a charge, so it is a very poor conductor of electricity. The more salt that is added to the water, or the greater the concentration of ions, the better the water will conduct electricity.