In the chemical reaction C2H2 + O2 CO2 + H2O, the compound C2H2 is being oxidized, while the compound O2 is being reduced. This is because, in an oxidation-reduction reaction, the substance that is being oxidized (in this case, C2H2) is losing electrons, while the substance that is being reduced (in this case, O2) is gaining electrons.