Yep, you read that right. Bamboo ants (Cataulacus muticus) will drink the water entering their bamboo nests, run outside, and pee it off the edge.
This is a mighty effort. But there are many, many ants in a nest. And when all the ants get to work, they can hold off a flood in their bamboo nests by collectively drinking the water than peeing it out.