Yes, ants are capable of swimming. They can float on the surface of water and are able to move their legs to propel themselves through the water. Ants can use their ability to swim to survive in flood conditions or to forage for food near water sources.