Explain the steps in making a decision tree

Explain the steps in making a decision tree.

for different steps in decision tree :

Decision Tree is a Supervised learning technique that can be used for both classification and Regression problems, but mostly it is preferred for solving Classification problems.

Decision Trees usually mimic human thinking ability while making a decision, so it is easy to understand.

A decision tree simply asks a question and based on the answer (Yes/No), it further split the tree into subtrees.

In a Decision tree, there are two nodes, which are the Decision Node and Leaf Node. Decision nodes are used to make any decision and have multiple branches, whereas Leaf nodes are the output of those decisions and do not contain any further branches.