differentiate between
(1) Ionization potential is the energy that must be supplied to a neutral atom in the gas phase to remove an electron to an infinite distance.
Whereas electron affinity is the energy required for detaching an electron from a singly charged anion.In other words, it is the energy released when an isolated gaseous atom accepts an electron to form the gaseous negative ion.
(2)Electronegativity is the tendency of an atom in a molecule to attract the bonded electrons.It is a relative value.It cannot be measured and has no unit.It is different for every element.
Whereas, electron affinity is the energy released when an isolated gaseous atom accepts an electron to form the gaseous negative ion.It is an absolute value.It can be measured experimentally.It is expressed in kJ/mol.