These ants are tending to aphids, feeding on the "honeydew" that the aphids secrete, and protecting them from predators.
Ants also form mutualistic associations with trees.
leaf cutter ants: ants and caterpillars: cleaning gobies: