NOVELTY - A sewage treatment and three-dimensional greening system comprises sewage biogas energy utilization system, sewage resource utilization system, and building roof greening system in which sewage biogas energy utilization system comprises fermentor (2) connected by safety control valve pipeline to biogas tank, sewage resource utilization system comprises water collecting tank (9) connected by water inlet end to fermentor, and water outlet end of water collecting tank is connected to valve-switch-containing water pipeline (10) which discharges water to building roof plant greening area.    USE - A sewage treatment and three-dimensional greening system for buildings (claimed).    ADVANTAGE - Sewage treatment and three-dimensional greening system is environment-friendly, has simple and convenient construction, saves energy, and reduces emission.    DETAILED DESCRIPTION - A sewage treatment and three-dimensional greening system comprises sewage biogas energy utilization system, sewage resource utilization system, and building roof greening system in which sewage biogas energy utilization system comprises fermentor (2) connected by safety control valve pipeline to biogas tank, sewage resource utilization system comprises water collecting tank (9) connected by water inlet end to fermentor, water outlet end of water collecting tank is connected to valve-switch-containing water pipeline (10) which discharges water to building roof plant greening area, top of water collecting tank contains overflow pipeline (8), and building roof greening system comprises building roof building (5), waterproof layer (4), artificial soil vegetation (3), and drain water pipeline (6).    DESCRIPTION OF DRAWING(S) - The drawing shows a schematic diagram of sewage treatment and three-dimensional greening system.    Fermentor (2)    Artificial soil vegetation (3)    Waterproof layer (4)    Building roof building (5)    Water pipeline (6)    Overflow pipeline (8)    Water collecting tank (9)    Water pipeline (10)