Domanda di colloquio di Nuclei

Difference between a HashSet and a map. How to store data in a HashSet?