Chemical substances of plants (usually of low molecular weight) with a high structural diversity that are used as defence or signal compounds by the plants producing them. Several secondary metabolites have a restricted occurrence in the plant kingdom. In contrast, primary metabolites are essential and present in all plants.