NOVELTY - Utilizing material and/or energy from biomass comprises converting biomass into a flue gas (8) and a product gas (7) by gasification (1), feeding the product gas into a pressure swing adsorption or a membrane reactor to separate hydrogen (9), feeding the flue gas into a gas treatment system, separating carbon dioxide and subjecting the end product to liquid nitrogen wash (5), feeding the end product of the liquid nitrogen wash to hydrogen obtained from the pressure swing adsorption or the membrane reactor and adjusting their ideal gas ratio, and performing ammonia synthesis to produce ammonia.    USE - The method is useful for utilizing material and/or energy from biomass.    ADVANTAGE - The method: extracts a high proportion of materials and energy from biomass; utilizes the product gas of high calorific value, purity and consistent quality; produces pure carbon dioxide, which can be used in urea and ammonia production, in food industries and many other chemical processes; eliminates the production of carbon dioxide from fossil fuels and hence reduces the energy costs; increases the power generation efficiency by utilizing the pressurized product gas; and collects the obtained products separately.    DETAILED DESCRIPTION - An INDEPENDENT CLAIM is also included for a plant for carrying out the above method, comprising a gasifier, connected to a pressure swing adsorption unit or a membrane reactor at its one end, a Rectisol wash (RTM: Acid gas removal process using methanol as a solvent), a membrane reactor, an amine scrubber, a carbonate wash or a pressure swing reactor, a liquid-nitrogen wash and an ammonia synthesis reactor for producing ammonia, where a pipeline for hydrogen is arranged between the liquid nitrogen wash and the pressure swing adsorption or the membrane reactor with subsequent ideal gas ratio adjustment.    DESCRIPTION OF DRAWING(S) - The figure shows a schematic representation of material utilization process from biogenic raw materials (Drawing includes non-English language text).    Gasification (1)    Liquid nitrogen wash (5)    Product gas (7)    Flue gas (8)    Hydrogen (9)