Introduction
Hashes store pairs of related information. These methods help you look at all the keys, all the values, or go through each pair one by one.
When you want to see all the names or labels stored in a hash.
When you need to get all the stored data values without their keys.
When you want to do something with every key and value in the hash, like printing or changing them.