Examples of secondary compounds in plants are alkaloids, terpenes, tannins, and phenolics such as Flavonoids. Various alkaloids, terpenes, and tannins have bitter tastes, strong odors, or toxic effects that help defend land plants against herbivorous animals.