NOVELTY - A wastewater treatment facility (10) comprises an inlet flow path; a secondary treatment system (30) including a tank for containing wastewater received through intake and at least one media wheel for growth of algae; and an effluent flow path. The media wheel is mounted for rotation within the tank so that a portion of the media wheel is immersed in wastewater and a portion of the media wheel is above the wastewater to alternately expose algae growing on the media wheel to sunlight and to the wastewater.    USE - For treating wastewater to produce clean effluent and a byproduct of biosolids for methane digester, bio-fuel production facility, ethanol production facility and a power generation plant to generate electricity from combustion of the biosolids; for producing carbon dioxide (claimed), and as fuel, fertilizer and animal feed; for treating residential, commercial, industrial, municipal, agricultural, and livestock wastewater; and for treating carbon dioxide.    ADVANTAGE - The wastewater treatment facility avoids problems associated with rotating biological contactors (RBCs), open on-site systems and algae raceways. The facility capitalizes multiple functionality of algae-especially on algae's role as a catalyst for biologically treating wastewater and as a source of biofuel, while eliminating the significant problems associated with prior algae-based waste treatment systems. The greenhouse protects the treatment system, and media wheels from debris and animals, while allowing sunlight to enter. The algal biomass can be more easily extracted from settling tank of the system than from the raceway pond of the prior system. The system relies upon the aeration jets used to rotate the wheels to dislodge the algal growth from the wheel surfaces. The system capitalizes symbiosis between algae and bacteria which results in a cost effective method of producing algae. The growth of bacterial and algal colonies in the secondary treatment tank results in a reduction of biochemical oxygen demand (BOD) from the wastewater source, as well as a reduction in suspended solids, nitrogen, phosphorus, and other nutrients in the discharged effluent to readily meet the discharge limitations established by regulatory agencies. The waste carbon dioxide from the processing facility can also be returned to the treatment system for enhanced algae growth. Bacteria is provided to form a symbiotic relationship with the algae, fueled by sunlight to effectively remove toxic materials from the wastewater.    DETAILED DESCRIPTION - A wastewater treatment facility (10) comprises an inlet flow path for receiving wastewater from a source outside the treatment facility; a secondary treatment system (30) connected to inlet for receiving wastewater, and including a tank for containing wastewater received through intake and at least one media wheel for growth of algae; and an effluent flow path connected to tank for discharging wastewater that has been treated by the secondary treatment system. The media wheel is mounted for rotation within the tank so that a portion of the media wheel is immersed in wastewater during rotation and a portion of the media wheel is above the wastewater during rotation to alternately expose algae growing on the media wheel to sunlight and to the wastewater. The inlet flow path includes a primary tank (15) having connectable between the source of wastewater and the tank of secondary treatment system, an access port (21), and an internal weir. The primary and tertiary tanks are buried underground. The effluent flow path includes a tertiary tank (50) connected to tank of secondary treatment system, and containing an access opening, a discharge outlet and an effluent filter. The effluent flow path includes a clarifier for extracting bio-solids from wastewater treated by secondary treatment system; a chlorine disinfection chamber; and an aeration component. The inlet and outlet flow paths include channel; a diverter plate; and a series of spaced notches. The secondary treatment system is housed within a greenhouse. An INDEPENDENT CLAIM is included for wastewater treatment involving biologically treating wastewater in a treatment facility to produce clean effluent and a byproduct of biosolids; extracting the biosolids from the treatment facility; providing the biosolids to a separate facility for processing the biosolids; and recycling output from separate facility back to first treatment to affect its operation.    DESCRIPTION OF DRAWING(S) - The figure shows a schematic view of the wastewater treatment facility.    Wastewater treatment facility (10)    Primary tank (15)    Sewage pump (20)    Access port (21)    Secondary treatment system (30)    Tertiary tank. (50)