A loop within a loop is called:

Outer loop

Complex loop

Nested loop

inner loop