Answer:
Both
Step-by-step explanation:
Most ant species are generalist feeders, and only some ground-nesting and ground-foraging species are strictly predators. Ants are central-place foragers (with the exception of army ants during the nomadic phase) that may use different foraging strategies.