Class diagrams are widely used to describe the types of objects in a system and their relationships. Relationships allow to link independent classes together. There are three types of relationships: