What is the term for the energy released when an atom gains an electron?

light