A lookup relationship in Salesforce is a connection between two objects when one item contains a field that refers to the ID of the other entity. Lookup relationships are used to connect two objects, but they have no bearing on how records are shared. A master-detail relationship, on the other hand, involves two items, one of which is the master and the other the detail. Record sharing is impacted by master-detail connections, which also make it possible to generate roll-up summary fields. Additionally, there are more stringent guidelines for data integrity and record deletion in master-detail relationships.
These kinds of inquiries are frequently made during interviews for jobs associated with Salesforce. Therefore, you must watch Intellipaat's video tutorial, which offers the best collection of frequently asked salesforce interview questions and their answers, if you want to have a firm grasp on these questions and want to ace your job interview in one go.