Types of chemical bonds

The difference in electronegativity between two atoms decides how their valence electrons are shared, from equal sharing in a nonpolar bond through polar bonds to ionic, with metallic bonding where electrons are shared across the whole solid.

From AP Chemistry.