Terpenes contribute to the flavor profiles of cannabis strains, such as fruity, piney, or earthy tastes. These aromatic compounds are part of the plant's phenotype and can also influence the "entourage effect," where they interact with cannabinoids to produce a unique overall experience for the user.