in my school, i learned that oxidation and reduction can be defined in 4 types, gain/loss of hydrogen/oxygen/electron/oxidation number.
the gain of oxygen is supposed to be oxidation, while the loss is reduction. this is an easyn way to figure it out, without going into too much depth. but its just only the basic concept.