Traversing the internal nodes of tree in preorder gives the vertices in the order in which DFS visits them.
We can divide edges in 2 types
So we can now divide tree links in 4 types
We refer to a link from $v\rightarrow w$ in DFS tree that represent tree edge as
st[w]
is $v$and a link from $v\rightarrow w$ that represent a back edge as
ord[w] < ord[v]
ord[w] > ord[v]
So each tree edge in the graph corresponds to a tree/parent link in DFS tree, and each back edge in the graph corresponds to back/down link in DFS tree.