Polarity refers to a separation of electric charge within molecules that gives them an electric dipole moment. Electronegativity is an atom's ability to attract electrons in a chemical bond. There are two types of covalent bonds: nonpolar bonds between identical atoms that share electrons equally, and polar bonds between different atoms that unequally share electrons.