If two or more algebraic terms have the same unknown variables, they can be treated as like terms, regardless of their exponents.
Like terms have the same variables and the same exponents.
Like terms are the terms that contain same variables, same exponents of variables and same coefficients.