The Set class is an extension of the List class. It is used to handle a list of elements such as objects.