I think the yellow ants give you more time, purple ants "disable" the holes; and your final score depends on how many ants you can drop in.
The red ants are carnivores and need to be clicked on to shew away.
That makes sense. Maybe it should be added as some sort of one-screen-tutorial (?)