Plants produce secondary metabolites that serve as communication signals and defense weapons. Secondary metabolites are not directly involved in primary growth and reproduction but play roles in defense, protection, attracting pollinators, and taxonomy. They are produced for fitness in harsh environments, communication by attracting pollinators and beneficial microbes, attracting predators to protect against harmful insects and pathogens, and signaling to other plants about herbivore attacks. Major groups of secondary metabolites include terpenoids, alkaloids, and phenolic compounds, which have various functions for the plant and human uses such as medicines, perfumes, pesticides, and food colorings/flavors.