An object relationship in Salesforce is a two-way association between two objects. Relationships are created by creating custom relationship fields on an object. This is done so that when users view records, they can also see and access related data.
There are several different types of relationships in Salesforce. Commonly used ones include:
Master-detail
Lookup
Hierarchical