What is the role of oxygen in anaerobic respiration?

Anaerobic digestion means no oxygen.