A substance (such as NaCl) whose aqueous solutions contain ions and hence conduct electricity is called an electrolyte. A substance (such as sucrose, C12H22O11) that does not form ions in solution is called a nonelectrolyte. The difference between the two substances is due largely to the fact that sodium chloride is an ionic compound, whereas sugar is a molecular one.