The termite species Coptotermes formosanus is known to have a frontal gland with fluid in it. As the ants attack the termite mounds fighting between the soldiers of the two species commences. The ants were able to learn that the termites had a chemical defense, the fluid produced in the frontal glands. The learning capability of ants is fascinating. There are many types of ants with very different styles of predation, however they all have one thing in common.
Ants play an important part in natures population control.
Ants may attack other invertebrates, vertebrates, and the plant fauna that exists on this planet. The sizes of ants vary greatly, even to the extent of polymorphism in a single colony. With this wide a range in body size it is easy to see the extensive range of prey they may choose. The larger leaf cutting ants have different muscle structure and larger heads to allow them to attack denser vegetation. The leaf cutting ants attack all types of vegetation, from trees to bushes to grasses.