A worldwide community photographing and learning about wildlife
When the osmeterium sticks out you can smell the plant that they have been eating. They feed on fennel ( smell like licorice), wild carrot ( carrots of course) and dill ( these smell like pickles). It may be part of a defense mechanism.