A loop within a loop is called:

Complex loop

inner loop

Nested loop

Outer loop