Electronegativity is defined as the ability of an atom to attract electrons toward itself in a chemical bond. This concept is related to both Electron Affinity and Ionization Energy, two of the Periodic properties.
Electron affinity of an atom or molecule is defined as the amount of energy released or spent when an electron is added to a neutral atom or molecule in the gaseous state to form a negative ion.