IBM interview question

Explain how hash table works.