TreeSet: Can contain only unique values and it is sorted in ascending order TreeMap: Can contain only unique keys and keys are sorted in ascending order.