Chemical defense

Monarch butterfly caterpillar on milkweed plant. Milkweeds use three primary defenses to limit damage caused by caterpillars: hairs on the leaves, cardenolide toxins, and latex fluids, but Monarchs have evolved in response to remain unaffected by these defenses. Cardenolide toxins sequestered during the Monarch's larval stage from feeding on the plant remains in the adult, making it unpalatable to predators.

Chemical defense is an anti-predator defense strategy employed by many organisms to avoid consumption by other organisms, by producing toxins or irritant metabolites or chemical deterrents that incite avoidance behaviors in the latter. The production of defensive chemicals occurs naturally in plants, fungi and both invertebrate and vertebrate animals, as well as in microorganisms such as bacteria and protists. The class of chemicals produced by organisms that are considered defensive may be considered in a strict sense to only apply to those aiding an organism in escaping herbivory or predation. However, the distinction between types of chemical interaction is subjective and defensive chemicals may also be considered to protect against reduced fitness by pests, parasites and other competitors.

Repellent rather than toxic metabolites are allomones, a sub-category signaling metabolites known as semiochemicals. Many chemicals used for defensive purposes are secondary metabolites derived from primary metabolites which serve a physiological purpose in the organism. Secondary metabolites produced by plants are consumed and sequestered by a variety of arthropods and, in turn, toxins found in some amphibians, reptiles and even pitohui birds can be traced back to arthropod prey. There are a variety of special cases for considering mammalian anti-predator adaptations as chemical defenses as well.