Ericsson interview question

How do hash functions work in a hash table.