Looping is a core concept in programming.
Mathematica provides powerful primitives for specifying and controlling looping, not only in traditional procedural programming, but also in other, more modern and streamlined programming paradigms.
Do — evaluate an expression looping over a variable:
Do[expr, {i, n}]
While — evaluate an expression while a criterion is true:
While[crit, expr]
Table — build up a table by looping over variables:
Table[expr, {i, n}]
Throw — exit any loop, going to the nearest enclosing
Catch