NOVELTY - An apparatus (20) for decomposition of organic matter into biogas and compost, comprises: a waste processing tank (1) into which solid organic waste is loaded and in which hydrolysis and composting takes place at separate times, with composting of the organic waste taking place during separate stage after hydrolysis is completed; a spraying system (2) configured to spray percolate liquid onto the solid organic waste in the waste tank during the hydrolysis stage, where the percolate liquid comprises fatty acids leached from the solid organic waste; and a biogas reactor tank (9).    USE - For decomposition of organic matter into biogas and compost (claimed).    ADVANTAGE - The apparatus does not require moving the solid fraction of the waste between different stages of the process. Only initial loading of the waste and final unloading of the solids after sanitization is needed.    DETAILED DESCRIPTION - An apparatus (20) for decomposition of organic matter into biogas and compost, comprises: a waste processing tank (1) into which solid organic waste is loaded and in which hydrolysis and composting takes place at separate times, with composting of the solid organic waste taking place during a separate stage after hydrolysis is completed, where the waste processing tank comprises a drain at or near its base, the drain allowing flow of percolation liquid out of the waste processing tank during the hydrolysis stage, the drain also serving as a vent through which air flows into and/or out of the solid organic waste in the waste processing tank during the composting stage; a spraying system (2) configured to spray percolate liquid onto the solid organic waste in the waste processing tank during the hydrolysis stage, where the percolate liquid comprises fatty acids leached from the solid organic waste and where the percolate liquid is recycled from the base of the waste processing tank during the hydrolysis stage; and a biogas reactor tank (9) into which the percolate liquid from the waste processing tank is pumped for generation of biogas under anaerobic conditions during a gasification stage.    DESCRIPTION OF DRAWING(S) - The figure shows a schematic drawing of an apparatus for digestion and composting of solid waste.    Waste processing tank (1)    Spraying system (2)    Draining system (3)    Biogas reactor tank (9)    Apparatus (20)