Carbohydrates and proteins are the main metabolites and are less therapeutic than secondary metabolites, including vegetable flavonoids pigments, phenols, etc..
Proteins and carbohydrates are known as primary metabolites, as they are essential for the vital development of plants, while secondary metabolites (such as anthocyanins, flavonoids, etc.) appear from the adaptation of plants to their environment (attract pollinators, repel pests ...) but not for growth and development. They are related in that some secondary metabolites are synthesized by metabolism of the primary metabolites.