Component diagram
In the Unified Modeling Language, a component diagram depicts how components are wired together to form larger components and or software systems.
They are used to illustrate the structure of arbitrarily complex systems.
Overview
A component is something required to execute a stereotype function.
Examples of stereotypes in components include executables, documents, database tables, files, and library files.
Components are wired together by using an assembly connector to connect the required interface of one component with the provided interface of another component. This illustrates the service consumer - service provider relationship between the two components.
An assembly connector is a "connector between two components that defines that one component provides the services that another component requires. An assembly connector is a connector that is defined from a required interface or port to a provided interface or port."
When using a component diagram to show the internal structure of a component, the provided and required interfaces of the encompassing component can delegate to the corresponding interfaces of the contained components.