Secondary metabolites are organic compounds produced by plants that are not directly involved in their normal growth, development or reproduction but play an important role in plant defense. They are classified into terpenes, phenolic compounds and nitrogen-containing compounds. Plants have developed various defense mechanisms including chemical defenses using secondary metabolites that can deter herbivores and pathogens. Secondary metabolites also help improve disease resistance and shelf life of plants. They have applications in pharmaceuticals, pesticides, drug development and regulating plant metabolic processes.