A nested loop “has one loop inside of another”. These are typically used for working with two dimensions such as printing stars in rows and columns. When a loop is nested inside another loop, the inner loop runs many times inside the outer loop.
Shathana. S.R. Answered question May 26, 2023

A loop that runs within another loop is referred to as a nested loop. The first loop is called the Outer Loop and the inside loop is called the Inner Loop. The inner loop executes the number of times defined in an outer loop