Loops are, well, loops. They are a set of code which runs itself again either a set number of times, or until a certain condition is met.

There are 3 types of loops in Lua: For loops, while loops, and repeat loops. Each works in a slightly different way, and we'll go over them in the order they were just listed.

On that note, proceed to the next lesson to learn about for loops.