Iteration
You start writing some code, a few statements that doing a simple things. We don't want repeat that code every time we need to use it. We like to write our statements once, and then repeat it. That's the basic idea of iteration or loop. Similar to function, we will write our statements inside the code block.
repeat 5 times {
statement 1
statement 2
}
Main idea of loop is not when to loop, but when to stop. If you not careful, loop can make condition where statements inside code blocks will repeated forever, or make infinite loop.