A Tree is a non-linear data structure where data objects are organized in terms of hierarchical relationship.
Java provides two in-built classes, TreeSet and TreeMap, in Java Collection Framework that cater to the needs of the programmer to describe data elements in the aforesaid form.