HashMap and Hashtable stores values in key-value pair. HashSet contains unique elements. HashMap, HashTable contains unique keys.