Electrolytes are inorganic substances that dissociate into ions in water. Examples of electrolytes include salts [for example, sodium chloride (NaCl) and magnesium chloride (MgCl2)] and ions [for example, potassium (K+)].
Nonelectrolytes have bonds (usually covalent bonds) that prevent them from dissociating in water. Most nonelectrolytes are organic molecules. For example, glucose, lipids, urea, creatinine, and cholesterol are nonelectrolytes.