dividing the numerator and the denominator by the largest number that can divide into both numbers exactly.

That is the most basic way to simplify basic fractions. For example expressions/exponents would not completely work.

Ex: 10/5 = 2/1 or just 2

10/35 = 2/7

If you would like to simplify exponents and expressions there are other ways to approach that