Camphor can also be synthetically produced from oil of turpentine. Resins from conifer wood are used to produce turpentine and rosin. It is soluble in dichloromethane, chloroform, benzene, diethyl ether, carbon disulfide and oil of turpentine. The extraction of these organic materials from wood provides tall oil, turpentine, and rosin. Terpenes are the major components of rosin and of turpentine produced from resin. The pine has also been used as a source of rosin and turpentine. Painters began to notice the dangers of breathing painting mediums and thinners such as turpentine. A common analogy is to turpentine or creosote. The solvent may be alcohol, turpentine, or petroleum-based. Some resins are soluble in both alcohol and turpentine. The ground is removed with a solvent such as turpentine. Commercial forestry products produced in Spain included cork, turpentine, and resins. The by-products of wood tar are turpentine and charcoal. Mineral spirits are an inexpensive petroleum-based replacement for the vegetable-based turpentine. Resin from "Pistacia terebinthus" (commonly known as terebinth or turpentine tree) is rich in pinene.