Complex sentence: They feed mainly on ants and ant larvae near where they burrow, and occasionally on worms, snails, other insects and larvae, or various plant and root material.
Split into simpler sentences: They feed mainly on ants and ant larvae near where they burrow. Occasionally they feed on worms, snails, insects and larvae, or various plant and root material.