A for loop has all of the parts a while loop has, only they're all on the same line of code and separated with a ;.

Great! We can clearly see the three parts essential to a for loop.