Design Patterns - Composite
Compose objects to represent Part-Whole hierarchies, giving the client the possibility to work with both the whole object or with each part independently.
NOTE: when implementing, check for the details in the book, as many things have to be taken in consideration
Notes References
20210408132546 Computer Science - Design patterns