While a covalent bond is relevant here since it involves sharing electrons between two atoms, I suspect you are talking about electronegativity. Electronegativity is the measure of a particular element's general affinity to attract a negative charge (i.e. electrons) towards its nucleus.