Ant colonies also have soldier ants that protect the queen, defend the colony, gather or kill food, and attack enemy colonies in search for food and nesting space. If they defeat another ant colony, they take away the eggs of the defeated ant colony. When the eggs hatch, the new ants become the "slave" ants for the colony. Some jobs of the colony include taking care of the eggs and babies, gathering food for the colony and building the anthills or mounds.