Explain why the high density of herbivores and pathogens in the tropical rainforest has led to plants evolving complex chemical compounds that are highly valuable to modern medicine.