Yeast begin their process by consuming oxygen and sugar, giving off ethanol, known as aerobic respiration. After all of the available oxygen has been consumed, the yeast switch to anaerobic respiration, which consumes sugar and gives off ethanol AND CO2.
To put it simply, if the airlock is...