In Lua, loops are used to allow the coder to execute a statement or a collection of statements multiple times. Loops are a control structure and a very common feature in all programming languages.