A set is an unordered collection of unique elements. In contrast, a sequence is a collection of elements with a specific order and which need not be unique.