In UML models, a composite structure diagram shows the internal structure of classifiers and collaborations using by parts, ports, and connectors. You can use this type of diagram to visually explain the composite parts of the containing classifier and to define the behavior and communication between the parts.