Set theory is the foundation of modern mathematics. Calculate A∪B, A∩B, A−B and symmetric difference.
Union (A∪B) combines all elements. Intersection (A∩B) keeps only shared elements.
Union combines all elements from both sets. Intersection keeps only elements that appear in both sets.