You can use iterators in cases, where you want iterate (loop) through elements. The importance of iterator is that it will allow you to perform "lazy evaluation", which is a very helpful concept in case of large data sets. It will only compute the next element when it is requested rather than computing the whole data set all together.