Partly Group interview question

Explain how does hash table work