Ants had existed for about 100 + million years, long before humans came into existence. Homo sapiens have many similarities with ants to their direct descendants, the 'apes'. Homo sapiens tend to live in large groups, form communities, interact and care for each other, make skyscrapers, and build sustainable development around them to survive. Ants do the same in most of the matters they make communication with each other, that's right! not in human language though!

an ant searching for food

Ants communicate with their antenna-like thing on their head they pass information, the smell of food, or alert danger on their roads to their fellow ants through their antenna.