Eciton hamatum
Army ant
Workers grip one another across gaps in a trail, and other ants use them as a bridge. In field experiments, the bridge could shift toward a shorter route as more ants crossed. The movement eventually stopped short of the biggest possible shortcut, which would have taken more workers away from the trail.
More about Eciton hamatum