Caterpillar mimicking snake. Head of a caterpillar (family: Lepidoptera) which resembles a snake to deter predators. The imitation of a dangerous or toxic animal by an edible, harmless one is known as Batesian mimicry. Photographed in a rainforest in Costa Rica.