Two part answer:
1) Using the concepts of lcm and hcf in the proving of many number theoretical theorems, e.g.
Chinese Remainder Theorem, to name but one.
2) Evaluating the lcm's and hcf's in practical situations e.g.
i) adding fractions
ii) evaluating and simplifying polynomial expressions