Itlize Global interview question

Q: Explain why you would use a hash map?