Oxidation and reduction aren't two separate reactions: they are 1 reaction, called a redox reaction. So, like in every chemical reaction, the atoms of different elements/compounds rearrange themselves and form new elements compounds.
This is done mainly by swapping electrons. Oxidation and...