Tree is an interesting data structure. It has wide variety of applications in all sorts of fields. For example:
DOM is a tree data structure
Directory and files in our OS can be represented as trees
A family hierarchy can be represented as a tree.
Find the complete post here: https://stackfull.dev/tree-data-structure-in-javascript