3 Composite (Structural) Design Pattern

The Composite Design Pattern is specifically designed to handle scenarios where we have objects inside objects, especially when they form a tree-like structure or a hierarchy.