In Python many objects are iterable. This sounds complicated but it just means the objects are made up from several components and you can step through the components one by one. OK so far?
For example a list is iterable because it contains elements l[0], l[1], etc and you can step though the elements in the list using an integer 𝑖 where 𝑖 goes from 0 up to the length of the list.
The for loop keeps track of which element it is looking at, so once it has done that element it knows what the next element is. All this is done for you by the Python interpreter so you don't need to know exactly how it is done.
If you are curious I can point you to web pages explaining exactly how it works, but i wouldn't worry about for now.