NOVELTY - The apparatus for producing a pyrolysis product such as pyrolysis liquid or gas from biomasses e.g. wood, comprises a pyrolysis reactor (2) for forming pyrolysis product fractions from raw material by fast pyrolysis, a device (3) for condensing gaseous pyrolysis product fractions to mainly liquid pyrolysis product fractions, a combustion boiler (1) for forming energy fractions, devices (5, 6, 22) for feeding raw materials to the pyrolysis reactor and the combustion boiler, a device (4) for separating other fractions from the pyrolysis product fractions, and a unit for conducting fractions.    USE - The apparatus is useful for producing a pyrolysis product such as pyrolysis liquid or gas from different kinds of biomasses or organic materials such as wood, bark, paper, straw, waste plastic, oil shale, lignite or peat by dry distillation with the pyrolysis technique.    ADVANTAGE - The apparatus is free of combustible or contaminated material flows, which increase the safety and environmental friendliness of the process, and is capable of producing a pyrolysis product with improved preservability, extended storage period and improved competitiveness without environmental nuisances e.g. strong odors.    DETAILED DESCRIPTION - The apparatus for producing a pyrolysis product such as pyrolysis liquid or gas from biomasses e.g. wood, comprises a pyrolysis reactor (2) for forming pyrolysis product fractions from raw material by fast pyrolysis, a device (3) for condensing gaseous pyrolysis product fractions to mainly liquid pyrolysis product fractions, a combustion boiler (1) for forming energy fractions, devices (5, 6, 22) for feeding raw materials to the pyrolysis reactor and the combustion boiler, a device (4) for separating other fractions from the gaseous pyrolysis product fractions, and a unit for conducting fractions other than the gaseous pyrolysis product fractions from the separator to the boiler. The pyrolysis reactor is arranged in conjunction with the boiler. The separating device is arranged in conjunction with the pyrolysis reactor. The apparatus includes means for recovering, processing, circulating in the apparatus and/or utilizing the fractions produced in different parts of the apparatus, means for circulating a side, residual and/or waste flow to the combustion boiler, where the flows are non-condensable gases from the condensing device, the combustion gas fraction, the refuse flow from the feed of the pyrolysis reactor and solids from the condensing device, means for conducting the non-condensable gas fractions from the condensing device to the combustion boiler, a blower for feeding the non-condensable gases and/or the combustion gas fraction to the combustion boiler, means for adjusting the temperature of the pyrolysis reactor, a heat transfer material for transferring the energy product fraction from the boiler to the desired part of the apparatus and/or to recovery, a heat exchanger for adjusting the temperature of the heat transfer material before the pyrolysis reactor, means for feeding carrier gas to the pyrolysis reactor, means for forming the carrier gas from the combustion gas of the combustion boiler and circulating it to the pyrolysis reactor, means for feeding oxygen for the pyrolysis, means for arranging the raw material of the pyrolysis reactor and the carrier gas to a mixture, and means for conducting the heated heat transfer material to the mixture of the raw material of the pyrolysis reactor and the carrier gas. The heat transfer material is sand, bed sand, aluminum oxide based material and/or other fluidization material, is fed to the pyrolysis reactor from the combustion boiler, and is separated from the gaseous pyrolysis product fractions in the separating device and conducted to the combustion boiler. The combustion boiler and the pyrolysis reactor are integrated together in such manner that a separating wall is arranged between them.    DESCRIPTION OF DRAWING(S) - The diagram shows an apparatus for producing a pyrolysis product such as pyrolysis liquid or gas.    Combustion boiler (1)    Pyrolysis reactor (2)    Condensing device (3)    Separating device (4)    Feeding devices. (5, 6, 22)