Wire a battery and a small bulb to two metal probes and dip them into a beaker. In distilled water the bulb stays dark. Stir in table salt and it lights. The salt crystal is a lattice of Na+ and Cl− ions, and water pulls the lattice apart so the ions move freely: NaCl(s)→Na+(aq)+Cl−(aq). Positive ions drift toward the negative probe and negative ions toward the positive one, and that moving charge is the current. A substance that makes mobile ions like this is an electrolyte.
How brightly the bulb glows depends on how many ions there are. Hydrochloric acid ionizes completely, so it is a strong electrolyte. Acetic acid at the same concentration ionizes only about 1%, so the bulb barely glows; it is a weak electrolyte. Calcium chloride gives three ions per formula unit, CaCl2→Ca2++2Cl−, so 0.10 M calcium chloride holds about 0.30 M of dissolved ions.
Dissolving is not the same as dissociating. Sugar and ethanol dissolve easily, but their molecules stay whole and neutral, so the solution does not conduct: they are nonelectrolytes. Solid salt does not conduct either, even though it is made of ions, because in the crystal the ions are locked in place. What matters is ions that are both present and free to move, in solution or in a melted salt.
Think of it like this. An electrolyte solution is like a road for carrying charge: current flows only if there are charged vehicles free to travel between the electrodes. Salt releases a flood of them, while sugar adds plenty of traffic that carries no charge at all. Unlike real traffic, positive and negative ions travel in opposite directions at the same time.
Core idea. An electrolyte releases free-moving ions when it dissolves, and those moving charges carry current through the solution. How well it conducts depends on how completely it dissociates and how many ions each unit gives; substances that dissolve as neutral molecules do not conduct.