A map is a collection of key-value pairs where each unique key maps to a single value.
A map is a collection of key-value pairs where each unique key maps to a single value. Keys and values can be any data type—primitive types, collections, sObjects, user-defined types, and built-in Apex types.
Read more about Salesforce Maps
Learn Map Instance Methods