The collections module provides high-performance alternatives to built-in container types. The main types that are available in this module are as follows:
- deque: A list-like type with extra features
- defaultdict: A dict-like type with a built-in default factory feature
- namedtuple: A tuple-like type that assigns keys for members
We'll discuss these types in the next section.