In glycolysis, the absence of oxygens creates anaerobic conditions.
In anaerobic conditions, a little amount of energy is released, which will be enough to keep some cells alive. This results in the products of energy-rich molecules like lactate and ethanol.