-whats are trees ? it’s a non-linear data structure compared to arrays, linked lists, stacks and queues which are linear data structures. A tree can be empty with no nodes. so it’s a collection of data (Nodes) starting from the root and each node has a list of reference nodes.
this picture may explain :
what is Depth first concept ? the traversal starts at the root node,so we selecet an arbitrary node as the root node in the case of a graph) and explores as far as possible along each branch before backtracking.
What is Breadth First ? We traverse through one entire level of children nodes first, before moving on to traverse through the grandchildren nodes.
and this my small summary.