A trail of leafcutter ants looks like a harvest going home. The leaves are not dinner. In the nest the ants chew them into a substrate and feed a fungus they have tended for millions of years. The ants eat the fungus. The plant material is compost.
Ulrich Mueller and colleagues reviewed this agriculture in 2005. It is old, and it is not simple. A parasitic fungus attacks the garden. Cameron Currie and colleagues showed in 1999 that the ants carry bacteria that produce compounds against that parasite. The colony is a crop, a pest, and a living defense, all underground. The piece you see on the trail is the supply line.