They dig and maintain the nest.
They forage for food and lay trails.
They defend each other and the queen from threats.
They find and farm scale insects for nectar.
They stop and greet each other and check if anyone who wants to enter is from the colony.
So much complexity and you have one of the smallest ant brains. They do vary in size a lot, and ants have relatively large brains for their size as insects (bees do too)
But when you look at the smallest ants it's kind of shocking.