What’s the difference between electronegativity and ionization energy?

Electronegativity is related to the pull of a nucleus on an electron being shared in a bond. Ionization energy is the energy required to remove an electron from an unbonded atom. Electronegativity is a ranking and has no units. Ionization energy is an amount of energy and has units such as kilojoules.