Use a Disjoint Set Union (DSU) structure to identify exactly which edge mathematically creates a cycle in a tree structure.