The for loop is a control structure that executes a block of code a specified number of times.
To use a control structure that executes a block of code a specified number of times, used primarily for arrays.