Sporopollenin is a highly resistant organic polymer that makes up the outer wall of pollen grains and spores. It is very stable over geological timescales, allowing pollen recovered from sediments to be used for palynology research to study past plant and fungal populations. Sporopollenin's chemical inertness also makes it useful for drug delivery and detoxification applications by binding to toxins and chemicals. It has a complex structure and composition that allows it to take on these important functions in nature, medicine, and research.