Terpenes are a class of natural products consisting of compounds with the formula ₙ. Comprising more than 30,000 compounds, these unsaturated hydrocarbons are produced predominantly by plants, particularly conifers.