Pyruvic acid supplies energy to living cells through the citric acid cycle (also known as the Krebs cycle) when oxygen is present (aerobic respiration), and alternatively ferments to produce lactate when oxygen is lacking (fermentation).