In anaerobic respiration
O2 is given out.
CO2 is given out.
CO2 is taken in.
O2 is taken in.
CO2 is given out in both aerobic and anaerobic respiration.