Fact 1: Ants communicate with chemicals called pheromones. 
Fact 2: Physiologically, ants leave a trail of pheromones, which other ants then follow.
Ants communicate by leaving chemical trails for other ants to follow.