The nodes involved in the math expression trees can be classified into two categories, namely, operator and quantity nodes.
operator nodes are the tree nodes that define the types of operations involved in expressions.