The ionic compound sodium chloride (NaCl), or table salt, dissolves in water. The partially positive hydrogen atoms of water attract the negatively charged chloride ions (Cl−). Many molecular compounds, including ethanol, vitamin C, and table sugar, are polar.