The intersection of sets and is the set of elements that belong to both and . You write .
For example, if and , then . Only and appear in both.
If two sets share no elements, their intersection is . In code, intersection finds common items between two collections.