Deutsche Bank interview question

Explain how a key-value pairs work in hashmaps