In covalent bonds, atoms share electrons, whereas in ionic bonds atoms transfer electrons. The reaction components of covalent bonds are electrically neutral, whereas for ionic bonds they are both charged. This explains why sodium chloride (salt) conducts electricity when dissolved — its components are charged.