The scent that the ants leave behind is called pheromone. The ants walk in a line because they follow the scent left behind by the leader.
Considering this, why do ants follow each other in a trail?
It turns out that when ants find food, they secrete an invisible chemical called "trail pheromone" as they return to the next. This trail leads directly from the nest to the food source. Other worker ants then follow the trail right to the food. Each worker then reinforces the trail on the way back.
Do ants leave a trail?
When worker ants leave their nest to search for food, they leave behind a trail of pheromone—like leaving a trail of breadcrumbs to help find your way home. After the ant finds food, it turns around and follows its pheromone trail back to the nest.
How do ants make a trail?
Ants make trails using chemicals they produce called pheromones. Like an invisible trail of breadcrumbs, it not only helps them find their way back home, but also helps other ants find the food and help gather it all for the colony.