When muscles work intensely and oxygen supply is insufficient, glucose is broken down anaerobically, producing lactic acid as a byproduct.