When heavy exercise results in too much acid in the human body, then "Lactic acid fermentation" occurs in our body. It is a metabolic process by which glucose and other six-carbon sugars are converted into cellular energy and the metabolite lactate, and we feel a lot of pain like burning muscles
Hope this helps!