Oxidation is part of RedOx, which stands for Reduction Oxidation Reaction. In it one compound reacts with a pure substance, and if oxidation can occur, a reaction will occur. Oxidation occurs due to these rules:
In these reactions, only a single chemical replaces another, either cations switch, or anions switch. You can figure if the cations will switch using the Reactivity Series for Metals:
Where a metal has to be more reactive than the one it is trying to replace to switch with it. The Reactivity Series for Non-Metals are on Group 7 on the Periodic Table. An important Acronym for RedOx is OILRIG, which means Oxidation Is Loss, Reduction Is Gain.
Crash course explains RedOx much better
HERE