TECHNOLOGY FOCUS - ORGANIC CHEMISTRY - Preferred Process: According to the flow process 1 as given in the specification, the milled biomass is mashed with the recirculated product in a mixer and the substrate is transferred into a pumpable condition, subsequently the pumpable mixture is further homogenized in an inline mill and passed through one or more successively operated cyclone separators with a central agitation mechanism leading to hydrolysis and acid formation through bacterial influence, where the inorganic components are separated and discharged, passed through fermenters under sequential mechanical mixing at approximately 40degreesC leading to acetic acid formation and methanogenesis, where the discharged biogas is stored and led to a combined heat and power generation plant, while the formed fermentation residue is separated into two partial streams, where the untreated first partial stream, which exhibits approximately 40degreesC, is used for the mashing of the new biomass; the second partial stream is subjected to a substrate processing, in which it is heated to approximately 70-90degreesC, where the heat necessary for the stripping process comes from the heat and power generation plant and the stripping process takes place at approximately 75-90degreesC, and the exhausted fermentation residue is cooled down and/or pre-heated in the counter current process; after the stripping process, over the heat exchanger at approximately 45degreesC, the second partial stream is supplied continuously as a purified and nitrogen deficient fermentation residue over a buffer tank to a separator and is separated into a solid and a liquid phase, the liquid phase is supplied as the recirculated product to the mixer, where the solid phase in dried-form or directly as a suspension is used as fertilizers in agriculture. According to the flow process 2 as given in the specification, the pumpable mixture is passed through one or more successively operated preliminary stages; the developed suspension is subjected to the processing of the substrate; the ammonia/ammonium nitrogen is extracted from the substrate processing step in a stripping process; inorganic components are separated in a separator and discharged, passed through fermenters under sequential mixing at 30-60degreesC leading to acetic acid formation and methanogenesis; and the biogas is discharged, stored and supplied to an energy generation process. In the beginning on the biogas process, instead of the fermentation residue, water or liquid manure is used for mashing purpose. The retention time in the preliminary stage is 1-6 days. The substrate in the mixer or fermenter is bacterially inoculated with the first partial stream. The fermentation, in the fermenter, takes place at mesophilic temperature of 35-42degreesC or thermophilic temperature of 50-60degreesC. The processing takes place in several independent fermenters in mesophilic and thermophilic temperature ranges. The retention time in the fermenter is 20-40 days. The stripping process is carried out at greater than 70degreesC and a time duration of greater than 1 hour than the batch process. The stripping process is carried out in a thermal counter current process with respect to the feeding and discharge of the fermentation residue. In three stripping containers, first is filled, second is operated and the third is emptied, or first is emptied and the other two are operated. In the four stripping containers, first is filled, second is emptied and the remaining two are operated, and the buffer tank is not used. In the preliminary stage, the fermenters are heated with the residue of the stripping process and the solid phase in the fermentation residue storage is dried-up. The biomass, with high content of foreign substances, is poultry manure, which is directly led to the preliminary stage, where the thorough mixing takes place and the mixture is led to the inline mill. EXAMPLE - The poultry manure was introduced in to a mixer before milling. A substrate with a dry substance content of 10-15% was produced by mashing with the recirculated product. The substrate with the dry substance content of 12.5%, recirculated product and/or water were mixed. The mixture was then passed through the cyclone separator and fermented. The fermented substrate with the dry substance content of 7.5% and the recirculated product were mixed. To the obtained new substrate bacteria was added and frequently nitrogen was removed. The obtained substrate was further processed to obtain a biogas.