Fermentation is a process which is used to produce energy from sugars (glucose, sucrose and fructose) in the absence of oxygen.
Fermentation with the glucose releases energy by producing carbon dioxide (CO₂) and ethanol (C₂H₅OH) as its byproducts. The reaction is C₆H₁₂O₆ → 2C₂H₅OH + 2CO₂ + energy