Here is a tutorial that goes into detail about how this works: Common pitfalls when working with lists (and how to avoid them)
Here is a tutorial that goes into detail about how this works: Common pitfalls when working with lists (and how to avoid them)