What is lft and rgt for?

I'm assuming it's to do with the node placement in the tree.

If you take note of the lft and rgt order for a specific node, and then add a node below that, you will see the numbers in the original node increase.
 
Top Bottom