The osmeterium is a defensive organ found in all papilionid larvae, in all stages. The organ is situated in the prothoracic segment and can be everted when the larva feels threatened. The everted organ resembles a fleshy forked tongue, and this along with the large eye-like spots on the body might be used to startle birds and small reptiles. The osmeterial organ remains inside the body in the thoracic region in an inverted position and is everted when the larva is disturbed in any way emitting a foul, disagreeable odor which serves to repel ants, small spiders and mantids. To humans, this odour is rather strong but not unpleasant, usually smelling like a concentrated scent of the caterpillar's food plant and pineapple.
Osmeterium of Papilio xuthus Larva. Upper: Osmeterium partly everted. Lower: undisturbed
Papilio demodocus larva everting its osmeterium fully, and with one horn applying the repugnatorial secretion to the finger that irritated it
Swallowtail butterflies are large, colorful butterflies in the family Papilionidae, and include over 550 species. Though the majority are tropical, members of the family inhabit every continent except Antarctica. The family includes the largest butterflies in the world, the birdwing butterflies of the genus Ornithoptera.
Swallowtail butterfly
Short-horned baronia (Baronia brevicornis)
Mountain Apollo (Parnassius apollo), tribe Parnassiini
False Apollo (Archon apollinus), tribe Luehdorfiini