A dominator tree is a hierarchical structure representing object relationships, where an object 'dominates' another if all paths from GC roots to the latter pass through the former. 'Retained heap size' is the total memory freed if a dominant object is garbage collected, including its own shallow size and all exclusively retained objects. The dominator tree provides the visual structure to calculate and understand retained size.