If in a fraction, the numerator or the denominator or both are fractions, then it is called a complex fraction.
Example 1:

Here, since the numerator is a fraction, it is a complex fraction.
Example 2:

Here, since the numerator and the denominator are fractions, it is a complex fraction.