What is a Master–Detail relationship?

A Master–Detail connection is similar to a parent–child relationship, with the ‘Master’ representing the parent and the other details representing the kid. If the parent is removed, the child is likewise removed. Only Master records can have roll-up summary fields, which calculate the SUM, AVG, and MIN of the child records.