The effect of tannins on insects in ecologically relevant situations is clearly not easy to define, and depends on the herbivore, nutritional context, and phenology. While a major focus of the chemical ecology literature is on the defensive roles of tannins against herbivory, it is important to note that tannins can impact ecosystems at many levels.