A DAG is a directed graph that has no (directed) loops. Consider the following:
A / \ v v B C \ / v v D
A DAG is a directed graph that has no (directed) loops. Consider the following:
This is a DAG but not a tree, because it has an undirected loop but no directed loops.