If yoga is interpreted as limited to asanas, then asanas practice do not generate the lactic acid in the muscles. The lactic acid is responsible for muscle fatigue and pain which we feel during exercise. During asanas, because of provision of relaxation post asana, there is no accummulation of lactic acid in the muscles and no fatigue. But in exercise, there is fatigue accummulation and hence, the pain and fatigue.