What is the lcm needed for?For example if you put two fractions on the same denominator. The smallest possible denominator of those fractions is the lcm of the denominators.
For example, lets compare and . At first, it is not clear which fraction is larger. But the lcm of and is , so it is possible to put the fractions on the common denominator :
Now it is easily seen that is smaller than .