A loop within a loop is called:

Outer loop

Nested loop

Complex loop

inner loop