Sodium reacts with chlorine to form Na+ ions and Cl- ions in spite of the fact that the first ionization energy of sodium is larger than the electron affinity of chlorine. To explain this, we need to divide the reaction between sodium and chlorine into a number of hypothetical steps for which we know the amount of energy given off or absorbed.