To convert NADH to NAD+. Under aerobic conditions, NADH produced by glycolysis is reoxidized to NAD+ through mitochondrial electron transfer. Under anaerobic conditions, pyruvate fermentation to lactate or to ethanol is required to produce the NAD+ needed for glycolysis to continue.