The diversity of natural compounds and biochemical processes that are essential for life and ecological interactions.