Turpentine is the name given to resin exudates from certain trees such as conifers and pines. These exudates consist of resin and essential oils and are known as balsam. The substances that distinguish turpentine from ordinary tree resin volatilize when the mass dries and only the resin remains. The viscous and usually cloudy mass is already harmful to health when it escapes and is untreated. Only by distilling the balsam is the turpentine oil obtained from the turpentine, which is nowadays used as a solvent and thinner and is commonly and incorrectly referred to as turpentine. Residues produced during the distillation of turpentine are solid pieces of tree resin known as rosin. Rosin can also be used in the production of paints and varnishes after further processing. It is also used as a soldering paste in electronics.