The relationship between the ants and the tree is symbiotic, since both parties provide clear benefits to each other. The tree benefits by having the ants attack its predators, and the ants benefit from the natural defenses of the tree (such as thorns) as well as being able to eat the nectar and secretions of the tree.