When writing programs, we often need to execute the same block of code multiple times.

For example:

Reading records from a database

Processing files line by line

Displaying menu options until the user exits