Ant gland which secretes honeydew when the ants massage them. Some caterpillars produce vibrations and sounds that are perceived by the ants. A similar adaptation can be seen in Grizzled skipper butterflies that emit vibrations by expanding their wings in order to communicate with ants, which are natural predators of these butterflies. Other caterpillars have evolved from ant-loving to ant-eating: these myrmecophagous caterpillars secrete a pheromone that makes the ants act as if the caterpillar is one of their own larvae. The caterpillar is then taken into the ant nest where it feeds on the ant larvae. A number of specialized
Ant spider and use their mimicry to enter and leave the nest unmolested (if the ants detected them as intruders they would mass to repel and perhaps kill them). The spiders walk on only the three rear pairs of legs, and if they encounter an ant during their forays into the nest territory, they touch their front legs to the ant's antennae in the same way as another ant would with its own antennae. If they have already captured an ant, they then offer that towards the challenging ant, which inspects it and behaves towards the spider as if it were another