The cramps occur when muscle cells respire anaerobically. The partial breakdown of glucose produces lactic acid. The accumulation of lactic acid causes muscle cramps. We get relief from cramps after a hot water bath or a massage. A hot water bath or massage improves the circulation of blood. As a result, the supply of oxygen to the muscle cells increases. The increase in the supply of oxygen results in the complete breakdown of lactic acid into carbon dioxide and water.