On what factors the polarity of bond depends?

Difference of electronegativity of the two atoms