List down the different types of nodes in Decision Trees

The Decision Tree consists of the following different types of nodes:

1. Root node: It is the top-most node of the Tree from where the Tree starts.

2. Decision nodes: One or more Decision nodes that result in the splitting of data into multiple data segments and our main goal is to have the children nodes with maximum homogeneity or purity.

3. Leaf nodes: These nodes represent the data section having the highest homogeneity.