Consider that you selected the Account, Case, and Contact objects in a task. Account is the parent object, and Case and Contact are the child objects of Account. The Contact object is also parent to the Case object. Multipath relationship exists between Account and Case objects.
The task uses the default path to select the records. You can also configure the path to select the records.