Scientists have known for decades that ants use a variety of small chemicals known as pheromones to communicate. Perhaps the most classic example is the trail of pheromones the insects place as they walk. Those behind them follow this trail, leading to long lines of ants marching one by one.