The intersection method returns a set of unique elements that were contained in both the set that the method was called on and the set that was provided as a parameter:
let oddAndSquareNumbers = oddNumbers.intersection(squareNumbers)
// 1, 9, unordered
The following diagram depicts the Intersection of Set A and Set B:
Figure 2.3 – Set intersection