Cognizant interview question

Difference between HashMap & HashSet