I'm trying to understand what's behind the ionisation of atoms in a redox reaction. I apologise if the answer to this question is obvious. I've searched around, but, surprisingly, I haven't found a clear answer on this.
Many many years ago, in secondary school, I remember watching a demonstration of a redox reaction of magnesium and oxygen (Mg2(s) + O2(g) --> MgO).
This involved a piece of magnesium being placed over a flame, after which a rather intense light would be emitted as the magnesium reacted with the oxygen, leaving behind MgO.
My understanding of this reaction is as follows: two valence electrons break free from the Mg atom and become part of the O atom, resulting in two ions, both of which have a stable octet configuration (8 electrons in their valence energy level). The electrostatic forces of the two ions result in an ionic bond, MgO.
Assuming the above is correct:
How did the two electrons break free from the Mg atom? What caused that ionisation? Was it the heat from the flame? I've read somewhere that the heat from the flame only speeds up the reaction, and that the reaction would take place even in the absence of the flame, but at a considerably slower rate. If this is true, then again, what's causing the ionisation? Is it the heat from the ambient environment? Is that heat enough to ionise an Mg atom?
What forces are behind the two "escaped" electrons joining the O atom? The O atom is neutral, so there should be no electrostatic forces pulling in those two electrons. So what's behind the ionisation of the O atom?