what is it called where child object gets killed if parent object is killed?

2 hours ago 1
Nature

The concept where a child object gets killed or destroyed if the parent object is killed or destroyed is called Composition. In composition, the child object's lifecycle is strictly dependent on the parent object, meaning if the parent is deleted, the child is also deleted automatically