In programming, loops follow the iteration depending on the condition. Every loop iterates at least once if not more.
Consider a program to print all the natural numbers from 1 to 100.
As you can see in the flow chart the flow of the program will repeat or iterate for each number from 1 to 100.
For every single iteration it will check for the condition and take the appropriate workflow. It will repeat the block of code for multiple times till the specified condition is achieved.
Flowchart to print natural number from 1 to 100
