The formation of chemical bonds occurs due to the attractive forces between oppositely charged ions (ionic bonds) or by sharing of electrons (covalent bonds).
An atom having tendency of attracting a shared pair of electrons towards itself and this chemical property is said to Electronegativity .
Thus, the attractive forces which draws in surrounding electrons for chemical bonds is electronegativity.