Cannabis produces a range of secondary metabolites, the most well-known being phytocannabinoids like THC and CBD. These compounds have psychoactive and therapeutic effects, respectively. Cannabis also contains terpenes, which contribute to its flavor and may have medical properties.