👉 In computer science, a binary tree is an ordered tree where each node has exactly two children. The root of the tree contains a value and all its descendants have the same value as well. This property allows us to recursively traverse the tree in a breadth-first manner.