Introduction
We use iteration to look at each item in a map one by one. This helps us work with all the data stored in the map.
When you want to print all keys and values in a map.
When you need to find a specific value by checking each item.
When you want to change or use every value in the map.
When you want to count or summarize data stored in a map.