Tree is a hierarchical tree structure with a set of connected nodes. A Tree is a directed graph that contains any number of nodes.