I wanted to add that you should think of a hash as an accocated array.

your keys can be "strings" or :symbols

symbols are easier to read and are faster as they refer to an integer
value inside the interpreter.

hashes can hold any fundamental, complex or abstract data type and
object including other hashes.