Iterator in vectors

I am not able to understand the iterator ( it ) functionality in the pdf. Please help me understand the functionality.

Hi @krikhi
An iterator is an object (like a pointer) that points to an element inside the container. We can use iterators to move through the contents of the container. They can be visualised as something similar to a pointer pointing to some location and we can access content at that particular location using them.