Lactic acid is an organic compound produced during anaerobic respiration. It is a byproduct of glucose metabolism in cells, especially during intense exercise or when oxygen levels are low. In the context of cancer, lactic acid plays a significant role due to altered metabolic pathways in cancer cells.