Ant colonies operate on a similar distributed intelligence but with even greater structural complexity in many species. The queen in an ant colony is again primarily reproductive, sometimes living for decades and producing millions of offspring.