what is the difference between union and intersection of two sets?
The union of two sets is a new set that contains all of the elements that are in at least one of the two sets. The union is written as A∪B or “A or B”. The intersection of two sets is a new set that contains all of the elements that are in both sets.