A component is an encapsulated, reusable, and replaceable part of an application, which can be used to implement a service or an application.
A component can be created in the following diagrams:
Application architecture diagram (see Application Architecture Diagrams)
Service-oriented diagram (see Service-Oriented Diagrams)