Learn about this topic in these articles:

ionization in the ionosphere

Electrons are removed mainly by dissociative recombination, a process in which electrons attach to positively charged molecular ions and form highly energetic, unstable neutral molecules. These molecules decompose spontaneously, converting internal energy to kinetic energy possessed by the fragments. The most important processes in the ionosphere involve recombination of O2+…