Phenolic compounds can act as protective agents, inhibitors, natural animal toxicants and pesticides against invading organisms, i.e. herbivores, nematodes, phytophagous insects, and fungal and bacterial pathogens.  The scent and pigmentation conferred by other phenolics can attract symbiotic microbes, pollinators and animals that disperse fruits.