When uniqueness or repeated membership checks matter more than ordering.
A set communicates that duplicates are not meaningful. `HashSet` is a strong default when the code mostly asks 'have we seen this already?' or must prevent duplicates from being stored.