What butterflies, bees and crabs have in common to fight infections