A set stores unique values of the same type in a collection without a defined order. Let's look at the following diagram:
![](https://static.packt-cdn.com/products/9781789348668/graphics/assets/96e941ab-70a4-4dc1-b886-c745d2392de3.png)
In the preceding diagram, we have two circles, both of which represent a set. On the left, we have Craig's favorite movies, and on the right, we have Gabe's favorite movies.