what is the difference between union and intersection?
The union of two sets contains all the elements contained in either set (or both sets). The union is notated A ⋃ B. The intersection of two sets contains only the elements that are in both sets. The intersection is notated A ⋂ B.