Normally, oxygen from the blood cells supply your muscles with the energy it needs to carry out certain actions. However, when there isn't enough oxygen to support the muscles, it produces lactic acid, or fermentation, to make up for the oxygen. (That's why you get that burn-y feeling whenever you exercise!)