Ants are capable of complex problem-solving strategies that could be widely applied as optimization techniques. An individual ant searching for food walks in random ways, biologists found. Yet the collective foraging behavior of ants goes well beyond that, as a mathematical study to be published in the Proceedings of the National Academy of Sciences reveals: The animal movements at a certain point change from chaos to order. This happens in a surprisingly efficient self-organized way. Understanding the ants could help analyze similar phenomena – for instance how humans roam in the internet.