Explore the 'for' loop and how it can be used for iterating over arrays and collections.