Can anyone tell me exactly what happens during a chemical reaction in terms of ionisation energy? I know that during a reaction there is an exchange of electrons (except for those where electrons are shared), more specifically the valence electrons. But where exactly does the ionisation energy come from? Does it come from the charge of the other atom or...?
I'm asking this because I'm being asked to describe the reaction of sodium and water in terms of valance electrons and ionisation energy - and I just can't seem to understand where the ionisation energy comes from for there to be a reaction. I tried putting the same question as above to some AI chatbots and they seemed to suggest that the ionisation energy comes from the positive charge of the water attracting the single valance electron of the sodium. But water is neutral, so that can't really be the case, can it?