Changing the condition tells the for loop when to stop.

For example, here we tell the loop to stop when i is less than 5.