Algal biomass dual roles in phycoremediation of wastewater and production of bioenergy and value-added products

Algal biomass has been gaining attention over the last decades as it is versatile and can be used in different industries, such as wastewater treatment and bioenergy industries. Microalgae are mixotrophic microorganisms that have potential to utilize nitrogen and phosphate (nutrients) and remove organic matters from wastewater streams. Phycoremediation is an intriguing and cost-efficient technique to simultaneously remove heavy metals from wastewater while removing nutrients and organic matters. The cultivated and produced algal biomass can be a promising candidate and a sustainable feedstock to produce biofuels (e.g., biodiesel, bio-alcohol, and bio-oil) and value-added products such as biochar, glycerol, functional food, and pigments. The algae suspended cultivation systems, WSP and HRAP, are efficient methods for the wastewater treatment in shallow ponds with no mechanical aeration and less required energy consumption, but when a short HRT and minimum evaporation losses are key points in the algal cultivation the PBRs are recommended. It was reported that biosorption and bioaccumulation are the two promising techniques of phycoremediation. Studies showed that among the current processes of algal biomass conversion to biofuels, transesterification of algal lipids and pyrolysis of algal biomass were found to be the most efficient techniques. This review paper investigates the applications of algal biomass in the phycoremediation of wastewater, productions of bioenergy and value-added products by reviewing articles mainly published over the last five years.


Introduction
Increasing industrialization, urbanization, and farming has significantly increased the amount of wastewater. Disposal of wastewater without prior treatment leads to various problems like algal bloom and consequently, eutrophication which results in loss of biodiversity. Wastewater contains Editorial responsibility: Jing Chen. high concentration of chemical oxygen demand (COD), biological oxygen demand (BOD), dissolved and suspended inorganic compounds such as nitrates and phosphates. Industrial wastewater comprises impurities like heavy metals, such as cadmium, nickel, and copper, which further accumulate in human body through food chain resulting in serious health issues (Pavithra et al. 2020).
Phycoremediation is the use of macro-or microalgae for the reduction or biotransformation of pollutants, including nutrients and harmful chemicals from wastewater . Biosorption, known as one of the promising phycoremediation techniques, is a bioremediation process that the inactive or dead biological materials take up organic and inorganic components (Rizvi et al. 2020). It is an energy independent technique using various adsorbents such as bacteria, fungi, algae, and plant residue to adsorb heavy metals on their active sites or cell surface (Kushwaha et al. 2020). Vijayaraghavan et al. (2019) did a critical review on biosorption, and reported that seaweeds, well-known algae, has a promising biosorbent capacity to remove a variety of heavy metals contaminants. In contrary to the biosorption, bioaccumulation is a metabolic pathway process where the heavy metal ions would pass through the cell membranes of living microalgae and enter the cytoplasm Danouche et al. (2021). The use of macroalgae in the wastewater treatment process was first introduced by Oswald in 1960s (Salama et al. 2019), and has been known as a sustainable and costeffective method in wastewater treatment for decades (Bhargava et al. 2020). Bauddh and Korstad (2022) reviewed the heavy metals contaminants and its accumulation mechanisms and the phycoremediation potential of algae to bioremediate the heavy metals in aqueous systems. Leong et al. (2021) reviewed various algal-based treatment technologies including high-rate algal ponds (HRAPs), HRAP-absorption column (HRAP-AC), hybrid algal biofilm-enhanced raceway pond (HABERP) and algal turf scrubber (ATS) in the phycoremediation and illustrated the recent advances in the current technologies.
In recent years, bioenergy as a robust alternative of fossil fuels has drawn more attention. Bioenergy is a type of renewable energy derived from biomass (e.g., agricultural by-products, organic waste, sludge, forest residues and waste, etc.) in form of bioethanol, biogas, biodiesel, biohydrogen, electricity generation which currently accounts about 10% of global energy supply (Duarah et al. 2022). Presently, the world relies on fossil fuels, particularly coal-burning as a major source of energy. However, coalburning is highly toxic to the environment as it releases a significant amount of greenhouse gases (GHGs) emissions. It is reported that due to industrialization and urbanization, the global energy demand is expected to rise by 9% between the years 2019-2030 (International Energy Agency [IEA], 2020). Hamed et al. (2020) reported that among the bioenergy feedstocks, algae biomass has been reported as one of the most sustainable and efficient alternatives. This is obviously due to the rapid growth rate and high content levels of lipids, proteins, minerals, and carbohydrates in the algal biomass compared to other feedstocks. Production of algae-driven biofuels also results in production of other valuable by-products such as biochar, glycerol, functional food, and pigments, making algae an economically efficient feedstock as well. Kandasamy et al. (2021) reviewed the production of bio-oil from thermochemical processes such as gasification, lipids transesterification, and pyrolysis and indicated that hydrothermal liquefaction (HTL) is the best technology for the algal biomass conversion. In a review study, Ganesan et al. (2020) summarized different technologies using algae to produce biofuels such as bio-alcohol, biodiesel, and bio-oil. They also reviewed the algae harvesting using closed, open and hybrid systems. This review paper focuses on the algae-based studies published recently on wastewater phycoremediation techniques, algal biofuels, and value-added products from algae. The main objective of this study is to provide a timely and comprehensive review on the algae culturing and applications in phytoremediation, biofuel and by-products (value-added products) productions with main focus on the studies published within the last five years in the field.

Algae application in wastewater treatment
To meet the demand in wastewater treatment industry, production of microalgae is an essential factor which needs to be investigated. As shown in Fig. 1, using wastewater in the process of algae cultivation provides an opportunity to simultaneously treat wastewater, which could also reduce the cultivation costs. The cultivation methods of algae from wastewater sources are further discussed in the following sections.

Algae cultivation using wastewater sources
Cultivation system for algae is classified into two main categories; suspended and immobilized. Suspended cultivation system consists of two methods: open pond and photobioreactors. The main characteristics of a cultivation system are optimal light source, effective mass transfer, easy to operate, low contamination rate, economical and high efficiency based on land area.

Open ponds
Open pond systems are preferred at industrial scale due to their low cost and ease of operation. These systems are classified into natural and artificial systems. Natural systems include lakes, lagoons and ponds for algae cultivation. Artificial system includes a large variety of systems like manmade ponds, tanks, and containers (Molazadeh et al. 2019). The preferred systems for the wastewater treatment purpose in these cultivation systems are waste stabilization pond (WSP) and High-Rate Algal Pond (HRAP).
Waste stabilization ponds (WSPs) are large and shallow, and mostly used for the wastewater treatment system in tropical countries . They are preferred for the treatment of domestic wastewater streams, municipal wastewater streams, and industrial wastewater streams (food, dairy industry) with high nutrient concentration. The main advantages of WSPs, over traditional (natural) systems, are high removal efficiency of BOD, suspended and dissolved solids, nutrients, and pathogens (Bansah and Suglo 2016). Also, they are cost effective in areas where land is inexpensive and available and are simple to operate and maintain and do not require external electric energy for the treatment process. Organic matter in wastewater streams is oxidized in an algal-bacterial symbiosis system in WSPs where the algal biomass growth results in consuming CO 2 and sunlight and subsequently increasing oxygen concentration through the photosynthesis. Producing more oxygen by algae would enable bacteria to breakdown more amount of organic matter and results in accomplishing wastewater treatment in the WSPs (Mahapatra et al. 2022). They also reported that Chlorella, Euglena, Scenedermus, and Microcystis are the predominant algae species found in the WSP systems. The drawbacks of WSP are their long hydraulic retention time ranging from 20 to 30 days, high water losses due to evaporation, and high dependency of such open systems process to the environmental factors like temperature, light intensity and risk of contamination (Nwankwo et al. 2019). Over time, the sludge generation in ponds increases leading to lowering the mean residence retention time or contact time that results in decrease of contaminant removal and therefore significantly affect the pond microbial dynamics results in decreasing efficiency (Coggins et al. 2019). Osman et al. (2021) used a WSP system, Lemna gibba and duckweed pond, to investigate the nutrients and organic removals from industrial wastewater. They reported COD and NH 4 -N removal percentages of 23% and 75%, respectively, from the industrial wastewater in a 6-day HRT. In a study conducted by Guedes-Alonso et al. (2020), urban wastewater was treated in a 340 m 3 constructed wetland system where the BOD, COD, and TSS removal percentages found to be 92%, 62%, and 92%, respectively. The nutrients removal percentages for nitrate, phosphate, and sulfate in this system have reached 26%, 9.5%, and 85%, respectively. Other open pond system is high-rate algal pond system (HRAP), also referred as raceway pond, has three main operations: removal of solids from wastewater, aerobic biological treatment of wastewater and harvesting of algae. In the HRAP system, wastewater treatment is performed by algae-bacteria consortia where algae provide oxygen to the bacteria for degradation of organic matter, reducing BOD and removal of solids, which results in facilitating aerobic treatment of wastewater, and in return bacteria provide CO 2 utilized by algae during the photosynthesis (Garfi et al. 2017). Due to having a paddlewheel in the HRAP compartment which provides an optimum horizontal water velocity (about 0.3 m/s), mixing in the HRAP helps collect the algae species in colonies which reduces the sedimentation time required for harvesting of algae. Low depth of HRAP provides high light penetration leading to increased photosynthetic ability and high biomass production (Sutherland et al. 2017;Kim et al. 2018). Craggs et al. (2012) reported that with CO 2 addition, algal productivity increased from an annual average of 2.5 g / m 2 day to 12-20 g /m 2 day. In an investigation, Chambonniere et al. (2021) reported that the presence of high cell density of algal biomass would enhance the sunlight attenuation in the HRAP systems. They also evaluated the mechanism of pathogen removal through the HRAPs and noticed that high pH and algae metabolites enhance the pathogen removal. The CO 2 addition promotes algal growth and nutrient removal, reduces pH of wastewater, and maintains C/N ratio. The HRAP systems have lower energy consumption compared to the conventional sludge treatment due to the elimination of mechanical aeration (provides oxygen for bacterial growth) as that criterion is fulfilled by algae. HRAP requires low capital investment and less maintenance compared to the conventional treatment system like activated sludge treatment that requires large amount of energy for sludge removal (1 kWh for conventional compared to 0.2 kWh for HRAP) (Amenorfenyo et al. 2019;Molazadeh et al. 2019). Similar to the WSP, application of HRAP has disadvantages such as high land requirement, risk of contamination and evaporation losses (Arashiro et al. 2018).

Photobioreactors
Another cultivation method in suspended systems are photobioreactors (PBRs). One of the main parameters in PBRs design is to ensure proper light intensity and maximizing the light penetration (by high surface area to volume ratio) as it is essential for the algae growth . They indicated that the PBRs are applicable at large scale with enhanced temperature control as they provide higher biomass productivity and contamination removal, and lower evaporation loss compared to the open system like WSP and HRAP. The main power requirements in photobioreactor are related to the aeration and cooling systems (about 40% of the total energy requirement) for maintaining the temperature (Clippinger and Davis 2019). Goswami et al. (2019) investigated the treatment of paper industry wastewater using a microalgae-bacteria consortium of Chlorella sp., Klebsiella pneumoniae and Acinetobacter calcoaceticus in a batch mode of PBR with the biomass productivity of 3.17 g/L. They reported the wastewater removal efficiencies of 99.95% and 95.16% for total nitrogen and COD, respectively. In a study conducted by Shetty et al. (2019), a different microalgae-bacteria consortium of Chlorella vulgaris and sludge native bacteria was used to simultaneously treat wastewater and generate biohydrogen. In this study, a batch mode PBR was conducted in 40 ml vials and performed at 24 °C for 72 h under continuous illumination, and the results showed about 75% of TP and TN removals, and a H 2 production of 35-40%. Huang et al. (2017) indicated that degassing is essential in photobioreactors as oxygen produced by photosynthesis accumulates leading to a toxic level. They reported that dissolved oxygen oxidizes several enzymes and affect electron transmission resulting in reduced photosynthetic ability of algae.
Structural integrity of reactor is at risk in case dissolved oxygen passes the threshold.

Immobilized cell
Immobilization is a technique where the independent movement of algal cells are restricted by artificial or natural means in the aqueous phase. Gross et al. (2015) reported the cell concentration of suspended culture with algal cell concentration of about 0.5 gL −1 (about 0.05% dry basis) and 2-6 gL −1 (0.2-0.6% dry basis) for open pond and photobioreactors, respectively. The low cell concentration requires further separation mechanism for algae harvesting including sedimentation followed by centrifugation that increases the cell concentration to 20% dry basis. To increase the algal cell concentration, biofilm-based systems are used in which algae is grown on a surface (Gross et al. 2015). Selecting a suitable carrier is critical in immobilization process and the surface material ranges from natural materials like polysaccharides to plastics such as high-density polyethylene. Simplified separation process, higher cell density, higher productivity, better cell stability, and biomass recirculation are some of the advantages of algal immobilization cells over the suspended method (Emami Moghaddam et.al. 2018). Boubabidi et al. (2019) reported that the cell immobilization is affected by several factors including physiological state of cells, surface properties and adsorbents, environmental conditions, medium composition, and the pH. Dinesh Kumar et al. (2016) investigated the nutrients removal from a shrimp farm wastewater using biofilter filled with a marine microalgae Picochlorum maculatum. The P. maculatum cells have initially been immobilized in round alginate blocks. The results showed a significant NO 2 and NH 3 removal percentages of 89.6% and 98.5%, respectively. The 57% and 46.4% of phosphate and nitrate removals were also obtained in this study.

Phycoremediation of wastewater
Application of microalgae in wastewater treatment has been an area of interest in research for many years. Phycoremediation is the use of macro-or microalgae for the reduction or biotransformation of pollutants, including nutrients and harmful chemicals from wastewater . Molinuevo-Salces et al. (2019) reported that energy consumption for activated sludge process was approximately 500 Wh per m 3 compared to 1.5-8 Wh per m 3 for HRAP. Microorganisms employed in phycoremediation do not produce harmful by-products and increase the dissolved oxygen level (Brar et al. 2017). The biofilm-based reactor used in wastewater treatment processes are categorized into rotating algal biofilm reactor, horizontal biofilm reactor and moving bed biofilm reactor (MBBR) (Wang et al. 2016). Miranda et al. (2017 reported a biofilm consisting of two microalgae used in the treatment of wastewater resembling the composition of textile industry effluent with selenium uptake of 38%, followed by the NH 4 , NO 3 , and PO 4 removals of 24%, 26%, and 17%, respectively. Zkeri et al. (2021) conducted a study on MBBR used in the treatment of dairy wastewater and they reported a complete removal of COD, and 65% and 31% removal rate in ammonium and phosphate, respectively. Other technologies in the field of algal biofilms are algal turf scrubbers and algal wheel. Algae turf scrubbers consist of plastic mesh where the algae would grow on the mesh surface and wastewater is pumped over the algae resulting in removal of contaminants from the wastewater (Ray et al. 2015). The technology is effective in removing nutrients such as nitrogen and phosphorus and assimilates CO 2 and is applicable in treatment of low metal concentration in industrial wastewaters (Wollmann et al. 2019).
The major advantage of employing biofilm technology is the lower harvesting cost as algae is grown on a material which can be scrapped for algae biomass removal. Biofilm reactors are closed systems which result in reducing the evaporation loss and risk of contamination (Dwivedi and Dwivedi, 2022). However, compared to the open ponds (WSP and HRAP) which require a minimal capital and operating costs due to a lower energy requirement for mixing, design and operation of photobioreactors (PBRs) require a very high capital cost (Narala et al. 2016).
Biomass harvested can also be used as bio-fertilizer and as a raw material to produce bioethanol, methane and biodiesel. The use of biomass in the production of these value-added products enhances the economic viability of phycoremediation (Gani et al. 2015;Khiewwijit et al. 2018). Use of microalgae is an environment-friendly option which reduces greenhouse gases (GHGs) emissions due to the utilization of CO 2 during photosynthesis (Bansal et al. 2018;Sunday et al. 2018). Phycoremediation technique, like HRAP, reduces greenhouse gas emissions by 100-200 tons of CO 2 per million liters of treated wastewater compared to the conventional methods like oxidation pond (Amenorfenyo et al. 2019; Molazadeh et al. 2019). Sludge generation is also less compared to the traditional physiochemical methods which results in lowering the operating cost (Dixit and Singh 2015). Koul et al. (2022) reported a study conducted in South India that showed negligible sludge generation when algae are utilized in bioremediation of industrial wastewater.

Algae applications and heavy metals removal
Heavy metals are classified as elements that have high atomic weight and high density. They include both metals and metalloids which are toxic to human health and environment (Tchounwou et al. 2012). The mechanism of utilizing heavy metal by algae is dependent on the cell-wall constituents. Algal cell wall contains polymers (pectin, hemicellulose, cellulose, lignin) and functional groups such as hydroxyl, carboxyl, and amino groups. Algae removes the heavy metals by two distinguished mechanisms; biosorption by non-living microalgae and bioaccumulation by living cells (Chabukdhara et al. 2017).
Biosorption is an extracellular mechanism performed by several techniques like physical adsorption or ion exchange. In physical adsorption the metal ions are attached to the algal cell walls through the weak attraction forces like Van Der Waals forces (Ahmad et al. 2019). In the ion-exchange process, the metal ions are trapped in the cellular structure and adsorbed into the metal binding site on algae. On the algal surface there is a negatively charged functional group which absorbs the positively charged metal ions and consequently results in reducing the heavy metals content in wastewater. Salama et al. (2019) reported that algae have 15.3 to 84.6% higher biosorption capacity as compared to other microorganisms such as bacteria and fungi. Gu and Lan (2021) have investigated the biosorption and effects of heavy metals ions Pb(II), Hg(II), Zn(II), Cd(II), and Cu(II) on the green alga Neochloris oleoabundans. They found that the adsorption capacity of N. oleoabundans biomass is directly proportional to the electronegativity and inversely proportional to the size of the metal ions. Among the metal ions, Pb(II) showed a significant inhibitive effect on the adsorption of other metals in the media. In another study, the biosorption potential of heavy metal ions Cd 2+ , Co 2+ , and Zn 2+ on Ulva flexuosa biomass has been investigated and the effects of essential parameters including the optimum pH, initial biosorbent dosage, contact time, and agitation were evaluated (Lekshmi et al. 2022). They found that the optimum biosorption is obtained at pH of 4 and with 0.4%, 0.6%, and 0.4% of algal biomass dosages for Cd 2+ , Co 2+ , and Zn 2+ , respectively. After 30 min contact time, the heavy metal removal percentages of cadmium, cobalt and zinc were reached 94.8%, 87.5%, and 90.8%, respectively.
In bioaccumulation the heavy metal ions are transported across the cell membranes and accumulated within the cells which results in reducing the heavy metal content in the wastewater. Bioaccumulation is an active process and heavy metal remediation requires metabolic activity in a living cell (Zainith et al. 2021). Henriques et al. (2017) reported 65%, 95%, and 76% removals of Pb, Hg, and Cd, respectively, during bioaccumulation mechanism for heavy metal uptake. Cader et al. (2019) have investigated the bioaccumulation capacity of heavy metals Cd, Cu, Zn, and Pb on marine algae biomass. They reported that the Bioaccumulation Factors in water (BCF water ) is higher in algae for zinc and copper and the seaweed samples bioaccumulations of heavy metals were reported in the order of Zn > Cu > Pb > Cd. They also found that the highest bioaccumulation level is achieved by green Ulva lactuca algae for Zn followed by the red algae Ceramium rubrum and Cystosera barbata. In another study, Uddin and Lall (2019) have investigated the bioaccumulation potential of Botryococus brurauni for the heavy metal removals of Pb, Cu, and Cd ions from wastewater and aqueous solution. The results showed that the chlorophyll content and consequently the bioaccumulation potential of algal biomass have been significantly suppressed and highly reduced by the concentrations of cadmium followed by lead and copper in the wastewaters.

Algae application in nutrient removal
Wastewater contains carbon, nitrogen, and phosphorus in many forms and the excess of these nutrients results in eutrophication. Algae requires these nutrients for its growth where the process includes several mechanisms for assimilation of such nutrients. For assimilation of different carbon components by algae several mechanisms are followed. Carbonates are utilized by direct uptake or by its conversion to carbon dioxide by carbon anhydrase activity. Carbon dioxide is utilized by algae by direct absorption or through photosynthesis (Mandotra et al.2019;Cai et al. 2013). Nitrogen in wastewater is present as nitrate, nitrite, nitric acid, ammonia, and nitrogen gas. Nitrate is assimilated by microalgae after it is converted to ammonium (Mandotra et al. 2019) and this is due to the fact that ammonium requires the least amount of energy for its assimilation compared to nitrate and nitrite. Nitrate is converted to nitrite by Nitrate reductase (NR), then nitrite is further reduced to ammonium by nitrite reductase (NiR) and at the end ammonium is assimilated by algae as glutamine-by-glutamine synthetase (GS) (Jia and Yuan 2016;Bolay et al. 2018). However, the efficiency of industrialized algae-based treatment systems may hamper due to providing a simultaneous high nutrient removal rate and a stabilized algal biomass consortium. Therefore, to overcome such a drawback, it is necessary to apply a mixed consortia of microalgae-bacteria to remove nutrients from wastewater streams (Mohsenpour et al. 2021). In a study, Sepehri et al. (2020) demonstrated that a consortium consisting of C. vulgaris and nitrifying bacteria would enhance the NH 4 -N removal rate to a level of 133 mg/L. This improvement has also been shown by Bankston et al. (2020) when they observed that ammonium removal was almost doubled when using a consortium of microalgae-nitrifying bacteria compared to the sole nitrifying system. Phosphorus exists in form of phosphates in industrial wastewaters. Like nitrogen, phosphorus removal is affected by pH and temperature of wastewater (Mandotra et al. 2019). Table 1 shows the contaminant removal efficiency for various species of algae in different industrial wastewater streams. Similarly, Rezvani and Sarrafzadeh (2020) observed that microalgae-bacteria consortium would improve the phosphorus removal efficiency from sole culture of microalgae (4.5 mg/L) or bacteria (2.6 mg/L) to 6.34 mg/L from a mixed consortium. Wang et al. (2020) also reported removal rates of 374 mg/L and 15 mg/L of Ammonium and phosphate, respectively, from a piggery wastewater using Desmodesmus sp. and nitrifying bacteria. These values represent 52% and 100% of efficiency removal levels of NH 4 + and PO 4 3− , respectively, in the wastewater stream.

Factors affecting phycoremediation of wastewater
There are critical parameters such as pH, temperature, nutrients, retention time, and light intensity that significantly affect the contaminant removal rate during phycoremediation. Each parameter has its own optimum range which can affect the photosynthetic and consequently the algae contaminant removal efficiency in wastewater treatment process.
pH is one of the main parameters that can significantly affect the growth of algae in wastewater. pH increases throughout the wastewater treatment process due to photosynthesis of algae which results in removal of CO 2 , hydrogen, and bicarbonate ions where carbon source is limited (Sunday et al. 2018). The optimum algal growth of various species is varied at different pH ranges. Daliry et al. (2017) reported that Chlorella Vulgaris can grow in a broad range of pH, but C. vulgaris shows high growth performance at pH range of 9-10. They also indicated that increasing the pH will increase the salinity of the media and results in inhibiting the algal cell growth. This could be one of the reasons that most of the algal species grow well in the pH range of 6-8. However, Qiu et al. (2017) reported that Chlorella Sorokiniana shows maximum growth at a pH of 6. Thus, optimal pH conditions are varied and highly dependent on the algae species employed in phycoremediation.
Temperature is another effective parameter which can effectively be controlled in closed systems, but it varies in open systems based on the climatic conditions. The optimal temperature range depends on the algal strain and the wastewater stream but generally it is found to be between 20 °C and 30 °C . Zainith et al. (2021) reported that the algal growth increases with temperature rise to a certain level. They indicated that at high temperatures, the photosynthesis ability of algae cells is reduced significantly due to inactivation of the essential proteins and results in decreasing the accumulation rate of contaminants on algal cell wall. Similarly, the temperature below 16 °C slows lowering the algal growth and affects the carbon assimilation efficiency of algal strain which results in decrease in pH, and damages the algal cell. Singh and Singh (2015) reported 25 °C as an optimal temperature for Chlorella Pyrenoidosa. While Filippino et al. (2015) reported higher contaminant removal efficiency at 15 °C as compared to 25 °C for Chlorella vulgaris. Thus, optimal temperature highly depends on algal strain.
Nutrients are another essential factor for the algal growth. Algae requires both macronutrients (nitrogen, carbon and phosphorus) and micronutrients (heavy metals) for its growth. When wastewater is used as an algae growth medium, it usually contains essential nutrients. However, in case of any deficiency, further nutrient like CO 2 is provided in the form of flue gas (Khan et al. 2018).  reported that injection of flue gas during phycoremediation had a positive effect on the algae growth.
In a study, Arashiro et al. (2018) indicated that retention time is another important factor which varies depending on the technology used in wastewater treatment and typically ranges from 3 to 36 days. They reported that in photobioreactor, it ranges from 3 to 14 days while in HRAP it is reported about 14 to 21 days and even longer in case of WSPs. Also, they elaborated that retention time depends on the climatic condition. In winter with lower temperature and less light intensity, for the same contaminant removal, higher retention time is required compared to summer.
Light intensity affects the algal activities since light is utilized by algae in photosynthesis and is also essential for their growth and consequently the contaminants removal efficiency. Zenith et al. (2020) investigated the effects of temperature and light on algal growth and reported that algae have higher contaminant removal efficiency and higher biomass productivity during the day or in summer compared to the low temperature and light intensity conditions. Closed systems with artificial illumination prospective would utilize both the artificial lighting and sunlight resulting in an efficient growth and contaminants removal rate. Although light intensity is essential, excessive light inhibits the growth of algae as there is a risk of damage to algal cell at high light intensity (Bwapwa et al. 2017). Anto et al. (2020) reported that algae perform photosynthesis in the active radiation range of 400 to 700 nm.

Algal biorefinery to bioenergy and value-added products
The process of obtaining bioenergy and other value-added products through algal biomass transformation is known as 'algal biorefinery' (Chew et al. 2018). There are several biorefinery processes and techniques that are commonly used. The general mechanism of the conversion is presented in Fig. 2 (Bhatia et al. 2020). Algae are recovered from various streams in industrial wastewater (textile, municipal, dairy, etc.), and cultivated in a photobioreactor, using a light source and CO 2 . The cultivated algal biomass is, then, converted into bioenergy and value-added products through different processes. Malik et al. (2022) have recently reported a new biorefinery route from cultivating microalga Chlamydomonas sp. using urban wastewater as the available low-cost media to converting the algal biomass to value-added products such as 1.83 mg/g of carotenoid and 480 mg/g of lipids. Extracted lipids have been transesterified to produce biodiesel. In this study 131.6 U/mL of α-Amylase and 375-384 mg/g of mycoprotein were also produced using 75-100 g/L of residual algal biomass through the downstream fermentation process. It has been reported that green algae and cyanobacteria are the promising alternative sources of hydrogen (Anto et al. 2020). Fakhimi et al. (2020) investigated the effect of coculturing microalgae Chlamydomonas reinhardtii and bacteria to enhance the hydrogen production. They reported that the coculturing would increase the amount of starch content in the cells, results in reducing the oxygen evolution and consequently higher H 2 production. Algal biomass also has been reported as an alternative source of electron donor in microbial fuel cells (MFCs) called Algal Microbial Fuel Cell (AMFC) where photosynthetic organisms would produce electricity (Nagendranatha ).

Algal lipid extraction as pretreatment
Like any other plants, the algae cells consist of carbohydrates, proteins, and lipids. In biorefinery, lipids are the major constituent for biofuels, followed by carbohydrates. Therefore, lipids and carbohydrates are often extracted during pretreatment process to reduce process cost and energy. The post-extraction residual algal biomass is then converted into other value-added products (Chia et al. 2017). Lipid extraction techniques are performed using four approaches: mechanical, biochemical, electromagnetic, and biological. All these approaches and techniques involve damaging the cell walls of algal biomass and collecting the lipid content. The first mechanical technique is the Expeller Press technique, where microalgal biomass is mechanically crushed using an expeller (Demirbas, 2009). Topare et al. (2011) has been successfully extracted 75 mol% of lipids from dry filamentous algae in an experiment. The second mechanical technique is bead beating, where the biomass slurry is spun using high-speed spinning mills and beads to damage the cell walls . The highest lipid recovery from agitated bead beating to date is 33 mol% of lipids per 100 g of algae Nannochloropsis cells (Mishra et al. 2017;Gouveia et al. 2012). The next approach is the biochemical approach, where different types of solvents are used to selectively extract lipids from the endogenous cells. The most foundational solvent is chloroform and methanol at a 2:1 ratio, which is known as the 'Folch' solvent. The chloroform disrupts hydrophobic interactions between nonpolar and neutral lipids in algal biomass, while methanol penetrates and reduces the lipid chains (Mubarak et al. 2015). Aside from Bligh and Dyer's solvent, alkali and acid solvents, such as NaOH and H 2 SO 4 , are also commonly used in microalgal lipid extraction and bioethanol production (D'Hondt et al. 2017). Sulfuric acid has found to be highly efficient, releasing 96% of glucose in microalga C. vulgaris (Ho et al. 2013). The acid and alkali are usually diluted to avoid the formation of inhibitors and corrosions. The last lipid extraction approach is the biological approach. An indirect biological technique is enzymatic hydrolysis. In this technique, an enzyme is used to lower the activation energy of hydrolysis, providing moderate process conditions (Gong and Bassi 2016). A new direct technique is algicide via microorganisms. Bacteria have been found to secrete a signaling compound called 'auto-inducers' for other bacteria from the same population to detect and induce algicidal enzymes, leading to algalysis (Demuez et al. 2015). Chen et al. (2013) found that 21.5 mol% of lipids was extracted from microalgae Chlorella vulgaris using algicidal microorganism Flammeovirga yaeyamensis. Despite its potential, the technique requires specific conditions and is not suitable for large-scale process.

Direct combustion of algal biomass
Direct combustion is the simplest biorefinery process of algal biomass. In direct combustion, the whole algal biomass is treated as a solid fuel. Microalgal biomass such as H. pluvialis is selected for its lipid content. During the process, the microalgal solid fuel is burned at 800-1000 °C in the presence of excessive air (X. Lee et al. 2020;X. Lee, 2018;Zhao et al. 2016), yielding biodiesel and residual biomass. Conventionally, researchers prefer to employ other biorefinery processes such as liquid-targeted liquefaction for biodiesel production as they believe that biodiesel is solely derived from lipid content of algal biomass (Choi et al. 2019); however, Giostri et al. (2016) argued that lipid extraction techniques ignore the full energy potential of algal biomass. Supporting the argument, Choi et al. (2019) have conducted an experiment to measure the biodiesel potential (BP) in 10 microalgal samples, using solely the convertible lipid fraction in the biomass. The results showed that compared to the lower heating value (LHV) of the entire biomasses, the BPs gained from the convertible lipid fraction of the microalgal samples only measured up to 50.27% of the LHVs. Choi et al. (2019) have concluded that using the entire biomass is up to 8.15 times more energetically efficient than using only the lipid fraction. Moreover, they have deduced that in direct combustion, every component in the biomass, including lipid derivatives, proteins, and carbohydrates are utilized as an energy source. They have also noted that the LHVs depend on the lipid content of the algal biomass, contrary to the popular belief that the biomass density determines the LHVs. Overall, the advantages of the microalgal solid fuel direct combustion process are its simple nature, high energy yield, and energy efficiency. For instance, direct combustion does not involve any carbonomitting downstream processes, and the algal solid fuel is compatible with conventional coal boilers, requiring no specialized modifications or equipment. Similarly, after pretreatment, the algal solid fuels are grindable, easily chopped and utilized, requiring no extra equipment as well. However, like any process, direct combustion has its limitations. Although the process has lower CO 2 emissions compared to the traditional fossil fuel burning, a white fume is reportedly released when the biomass has a moisture content of more than 50 wt% (X. Lee et al. 2020). Consequently, energyintensive dehydration processes are required as a pretreatment for this biorefinery process in order to prevent white fume emission and to ensure the efficiency of the process. Finally, since algal solid fuels offer lower calorific densities than the fossil fuels, they are not qualified as a standalone fuel; therefore, co-firing of coal-biomass, with a small fraction of biomass, is employed industrially (Giostri et al. 2016).

Transesterification of algal lipids
Transesterification of lipids is the process of using alcohol, with aid of a catalyst, to convert triglycerides to biodiesel and glycerol. Akubude et al. (2019) claimed that transesterification of lipids is the most commercially applied algal biomass biorefinery process for biodiesel production. Sivaramakrishnan and Incharoensakdi (2017) have conducted a successful experiment on lipid transesterification, using microalga Botryococcus sp., dimethyl carbonate (methanol derivative), catalytic lipase, with and without ultrasonic pretreatment. They have concluded that dimethyl carbonate is more costly than methanol, but it assists the glycerol conversion into glycerol carbonate. This aid is important as high glycerol content reduces the quality of biodiesel. The experiment has shown that applying ultrasonic pretreatment is extremely beneficial to the process, as the reaction time reduces by nine-fold. Without the ultrasonic pretreatment, about 78% wt esters/wt oil yield was achieved in 36 h, which is time extensive. With an ultrasonic pretreatment, the process was able to achieve 88% wt esters/ wt oil yield in merely 4 h, reducing the reaction time by nine-fold. Notedly, these results were accomplished under optimum process conditions. The optimum process temperature was found to be 50 °C. The optimum alcohol to oil algal biomass ratio, was found to be 7.5:1 v/v without the pretreatment and 5:1 v/v with the pretreatment (Musa, 2016). Overall, direct transesterification is an effective process despite the reaction time. Surprisingly, the energy consumption for direct transesterification and ultrasonic-assisted transesterification are not much different. Sivaramakrishnan and Incharoensakdi (2017) reported that direct transesterification consumes 126.7 kWh energy, while the ultrasonic-assisted process consumes 127.0 kWh. A drawback of this process is its requirement for dry algal biomass. It is crucial that the biomass has a low moisture content to avoid soap formation. During hydrolysis, fatty acids break free; excessive number of fatty acids lead to soap formation (Musa, 2016). The optimum moisture content for the biomass was found to be 1% v/v, which is extremely low; thus, drying process are employed prior to transesterification, drastically increasing the production cost and energy.

Pyrolysis of algal biomass
Pyrolysis is a thermal decomposition in the absence of oxygen and is recognized as the most efficient thermal algal biomass conversion process (Lee et al. 2020). The process is recognized via its ability to produce products in all three phases: solid, liquid, and gas. The most valuable products are biofuels, which are the liquid bio-oil and non-condensable syngas, and the by-product of solid biochar. Compared to the other thermal conversion processes like direct combustion and gasification, pyrolysis operates at a milder condition and produces higher quality products. The process temperature is lower compared to the other processes, and the produced syngas has high net caloric value. The bio-oil also produces a high heating value that is comparable to the fossil fuels. It has been reported that among the algae biomass species, the highest bio-oil yields obtained from Chlorella at 350 °C and Nannochloropsis sp. at 280 °C with the values of 38.1 wt% and 36.5 wt%, respectively. These values are in a limited range of 28.6-33.0 wt% for other species including Spirulina, Cyanophyta and Euglena (Song et al. 2019). The downside of pyrolysis is that the process loses its efficiency without pretreatment. In addition, the process is most effective when the biomass particle size is small, where for the slow pyrolysis the particle size of > 2 mm and the slow heating rates of < 10 °C are used (Kocer et al. 2018).
The two categories for pyrolysis are conventional pyrolysis and modified pyrolysis. Conventional pyrolysis is the direct pyrolysis which does not employ any assistance from other techniques or materials. The common types of conventional pyrolysis in algal biorefinery are slow and fast pyrolysis. Slow pyrolysis is conducted at a moderate (relatively low) temperature and long vapor residence time, favoring biochar production. Grierson et al. (2011) have conducted an experiment on microalgae, Tetraselmis chui and found that high HHV of bio-oil with high contents of carbon showed both energy potential and high valuable biochar content. Fast pyrolysis is conducted at a high temperature and high heating rate, favoring biooil production. Ly et al. (2015) performed fast paralysis on macroalgae Saccharina japonica and found that the biomass-to-bio-oil conversion at optimum conditions is roughly 45 wt%. They have discovered that the biochar and syngas yields increase with temperature rise, while the bio-oil conversion decreases. The advantages of conventional pyrolysis are flexibility, high product quality, low-sulfur product, and large-scale efficiency. The disadvantage of conventional pyrolysis is its high starting cost. There are three primary types of modified pyrolysis: hydro-pyrolysis, catalytic pyrolysis, and microwaveinduced pyrolysis. Lee et al. (2020) claimed that hydropyrolysis of algal biomass can produce up to 50 wt% of bio-oil. However, finding a suitable catalyst remains a challenge for this type of pyrolysis. The technique is also considered under-studied and requires further investigations. Catalytic pyrolysis also employs a catalyst, which can be acid, base, metal, zeolite, or carbon. The reaction is performed in two stages: primary (in situ) and secondary (ex situ). Catalytic pyrolysis allows for a lower energy requirement as the activation energy and process temperature are lower. It also allows for an easier solid and impurity separation while offering a higher product selectivity. An experiment conducted by Wang et al. (2018) showed that Enteromorpha clathrata produces 37.30-37.86 wt% of bio-oil, 42.86-44.44 wt% of biochar, and 17.70-19.84 wt% of syngas using MgCe/ZSM-5 catalyst. However, like many other catalytic processes, the expensive cost of catalysts remains a drawback of this process. Lastly, microwave-induced pyrolysis uses electromagnetic radiation technique to induce heating (Wang et al. 2015). This type of heating ensures instant penetration, uniform heating, enhanced mass transport, and relatively low activation energy. This pyrolysis technique was developed from the catalytic fast pyrolysis technique (Zhang et al. 2017). Like catalytic pyrolysis, microwave-induced pyrolysis is also performed in two stages: dipolar polarization and ionic conduction. Wang et al. (2015) reported that 27.7 wt% yield of bio-oil was converted from microalga Chlorella vulgaris with microwave-induced pyrolysis at a range of 390 to 700 W power output. Although the experimental result is promising, large-scale refinery and finding a cost effective and suitable microwave receptor remain a challenge for this technique.

Gasification of algal biomass
Gasification of algal biomass converts the biomass into syngas and biochar as a value-added by-product. A common pretreatment technique for this process is torrefaction. Torrefaction uses the temperature of 200-300 °C to burn the algal biomass in the absence of oxygen so that it loses the moisture content and rigid structure and increases its biochar yield. The highest biochar yield (to date), found to be 93.9 wt%, was achieved through dry torrefaction at 200 °C using microalga Chlamydomonas sp. JSC4 Chen et al. 2016). However, torrefaction requires energy and time to reach its optimum effectiveness, taking up to 60 min residence time . Raheem et al. (2018) speculated that microalgae Chlorella vulgaris would be a viable raw material for syngas production. They performed catalytic gasification on the algal biomass and found that process produced three products: tar, syngas, and char. The experiment was conducted using a temperature range of 700-900 °C, reaction time of 15-40 min, and catalyst loading of 5-20 wt%. The results showed that around 64-83 wt% of the product was syngas, and 10-22 wt% was biochar. The rest of the product remained as tar, which amounts to 6-13 wt%. It was also found that the produced syngas consists of 27-46 mol% hydrogen gas (H 2 ). Similarly, a hydrogen-targeted catalytic gasification process was performed with the algae Cladophora glomerata L. by Ebadi et al. (2017) at 700 °C. The results showed that syngas made up about 82-99.7 wt% of the product composition where hydrogen gas (H 2 ) amounts to approximately 38-44 mol% of the syngas. Although the experiment conducted by Ebadi et al. (2017) produced relatively lower hydrogen gas and char, it produced significantly lower molar percentage of tar (0.1-6.5 mol%). Although gasification is a common alternative for thermal conversion of algal biomass, the tar formation and gas cleaning remained as the major obstacles for process commercialization as the syngas tends to be easily contaminated with ammonia and acids (Raheem et al. 2018).

Hydrothermal liquefaction (HTL) of algal biomass
Hydrothermal liquefaction of algae is conversion of algal biomass into biocrude at 280-370 °C and 10-25 MPa in 5-120 min reaction time and in the presence of water, with or without a catalyst . Biocrude is an intermediate product for biodiesel production. Though not necessary, the use of catalyst is encouraged as it enhances the biocrude yield and quality. In fact, using a catalyst has been reported to increase the maximum biocrude yield to 64% . Sodium carbonate (Na 2 CO 3 ), which is a water-soluble alkali salt, is the most common catalyst used in HTL. Jena et al. (2012) was able to derive biocrude yield ranging from 39.9 to 51.6 wt% of biocrude from alga Chlorella pyrenoidosa using sodium carbonate at 350 °C and 60 min residence time. However, as Xu et al. (2018) elaborated, the alkali salts pose a limitation on the process, resulting in solid residue formation and leading to a separation issue. Energy conservation and nutrients recovery are primary advantages of this process. They also claimed that the HTL is an economically effective method, but the primary drawback of the process is the quality of the produced biocrude. The biocrude from HTL tends to contain high moisture content, high viscosity, and high heteroatom content, which are not desirable. In fact, the presence of the heteroatoms such as nitrogen, sulfur, and oxygen disqualify biocrude from being considered as biofuel. The nutrients in algal biomass residue from HTL process can also be recovered and reused for algal growth as well. Wastewater from this process is a course of nutrients which makes it a reliable candidate for the biofuel production (Leng et al. 2018).

Anaerobic digestion of algal biomass
Anaerobic digestion is a biological biogas synthesis process. It involves using microorganisms to degrade organic fractions of the substrate in the absence of O 2 (Fernandez et al. 2018). The biogas from anaerobic digestion is consisted of 50-70% methane, 30-45% CO 2 , < 2% hydrogen, and < 3.5% hydrogen sulfide by volume (Milledge et al. 2019). Anaerobic digestion is an efficient process, generating about 20 m 3 of methane per tonne of algae (Milledge et al. 2019). The process can provide a high yield of biomethane because it utilizes a large portion of organic carbons in algal biomass. Anaerobic digestion differs from other processes in the way that it favors macroalgae. Macroalgal biomass contains relatively low lipid content, which is more desirable as lipids often lead to process blockages. Allen et al. (2015) conducted an experiment on macroalga S. latissimi and found that the algae yielded 365 GJ energy per hectare per year. The common issues relating the anaerobic digestion of algal biomass are the energy-intensive drying pretreatment and the high C:N ratio. They also indicated that the acceptable range of C:N ratio for algal biomass is 6:1-20:1; however, the anaerobic digestion algal C:N ratio is 30:1. Because of the high carbon content, solvent extraction is commonly necessary as a pretreatment to reduce the carbon content in the biomass.
In an experiment conducted by Yang et al. (2018), the toxic compounds were extracted and removed using C. vulgaris biomass post-hydrothermal liquefaction wastewater. The C. vulgaris was selected due to the high stability of the strain to use organic carbons as a carbon source for their growth. The HTL process was performed at 270 °C (± 10 °C); the retention time was 1 h, and the solid content was 13 wt%. The wastewater was refrigerated at 4 °C prior to the treatment. Then, the digestion was performed, using swine manure as a source of microbial consortium. The researchers added 10 g/L of wastewater per 20 mL of swine sludge and submerged the sample in a water bath at 37 °C for 50 days. The experiment found that the organic carbons were completely converted to biomethane, and the nitrogen and phosphorus contents were successfully recovered to be used for further algal growth and save cultivation cost. Furthermore, it was also found that the COD, ammonia, and N-heterocyclic, which is an important algal growth inhibitor, were completely digested after the process (Yang et al. 2018).

Microbial fermentation
Microbial fermentation of algal biomass is a process that converts carbohydrates into sugar and eventually bioethanol. The fermentation is commonly performed in a fermenter, which is a type of bioreactor. Sritrakul et al. (2017) indicated that solvent pretreatment is typically necessary in this process; the solvent can dilute acids such as sulfuric, hydrochloric, phosphoric, and nitric acid, as acidic solvent helps in breaking down the algal cell walls. They also reported that the diluted sulfuric acid would promote the hydrolysis yield. The microalga C. vulgaris has been studied as the most potential species converting sugar into bioethanol (V. Kumar et al. 2016). Phwan et al. (2019) has performed a yeast fermentation on C. vulgaris to measure its bioethanol yield. Yeast was chosen as the consortium due to its ability to resist and convert inhibitors and maintain energy-redox balances (Westman et al. 2017). The algal biomass undergoes an enzymic saccharification prior to the fermentation. The saccharification was performed in two steps: liquefaction using the enzyme alpha amylase at the temperature of 90 °C and pH level of 5.5, and saccharification using the enzyme amyloglucosidase at the temperature of 70 °C. The yeast used in this experiment was the S. cerevisiae which had been cultivated in agar solution. After the saccharification, the biomass and yeast are fed into a shaking incubator of 150 rpm for 84 h. The fermentation is isothermal, and the process temperature was maintained at 32 °C. After 84 h, the sugar concentration was measured to be 5.63 g/L, providing a bioethanol yield of only 0.07 g/g algae. Result was unsatisfactory; thus, they performed a few more trials using acid solvent pretreatment. They have found that the algal sample pretreated with H 2 SO 4 provided the highest sugar reduction. The sugar concentration was found to be 6.95 g/L, providing a bioethanol yield of 0.28 g/g dry microalgae.
Microbial fermentation can also synthesize biofuel and biohydrogen through different techniques, including direct photolysis, indirect photolysis, and dark fermentation. Direct photolysis uses light and water to ferment algal biomass into H 2 and CO 2 , while indirect photolysis uses light sources in place of the light (Sharma and Arya 2017). These two techniques are not preferred due to their low hydrogen yield, and CO 2 synthesis. On the contrary, dark fermentation has been found as a promising technique since it produces many valuable products like biohydrogen, acetic acid, lactic acid, and pyruvate. Dark fermentation is performed in the absence of light source, water, and oxygen. The xylose stored in algal biomass is converted into the valuable by-product pyruvate. For all three techniques, hydrogenase is the key enzyme that catalyzes biohydrogen formation .

Industrial applications of algal bioenergy and value-added products
Products from algal biomass biorefinery are categorized into biofuels and value-added products. Currently, algal biodiesel is being studied in the energy industry as a potential fossil fuel replacement and it is primarily used in the transportation industry as it is compatible with diesel engines (Rahpeyma and Raheb 2019).
The biofuel is produced from the lipid content of algal biomass via algal biorefinery processes such as direct combustion, transesterification, and pyrolysis. Algal biomass lipid extraction is an excellent pretreatment technique that significantly increases biodiesel yield. Biodiesel derived from algal biomass also meets both the European standard (EN14214) and American standard (ASTM D6751) for diesel quality. The comparison of algal biodiesel against both standards are shown in Table 2, (Akubude et al. 2019). Technically, the algal biofuel is 10-20 times more viscous than conventional diesel, hindering its burning potential; thus, biofuel blending is recommended (Kumar and Thakur 2018). Nevertheless, the use of algal biodiesel and algal biodiesel blends still shows a great potential in replacing fossil fuel, hence reducing net CO 2 emissions. Other than chemical and industrial uses, algal biomass also produce daily-use products such as functional food, pharmaceutical compounds, and pigments as well. Functional food, algal biomass can be ingested directly. Macroalgae, commonly known as 'seaweed' is consumed worldwide, especially in Asia. Similarly, microalga Spirulina has been converted into nutraceutical tablets and ingested as a supplement as well. Seaweed and Spirulina have been studied to contain important vitamins, carbohydrates, and proteins (Suganya et al. 2015;Singh et al. 2008). Recently, Zheng et al. (2020) claimed that marine algae have anti-cancer, antioxidant, anti-diabetic, immunity-boosting properties. Algae are also excellent probiotics for digestive health. For these properties, algae and algal extracts are marketed as supplements in the pharmaceutical industry. Pigments such as yellow-orange-red and green colors can also be extracted from algae, depending on the species and strains. The yellow-orange-red pigment is scientifically known as carotenoids, while the green is known as chlorophyll (Nwoba, et al. 2020).

Conclusion
Algal biomass has proven to hold an important dual role in wastewater bioremediation and the production of bioenergy and value-added by-products. Not only is the biomass sustainable and efficient, but it is also versatile and cost effective in both bioremediation and biofuel production processes. Industrialization and urbanization have resulted in an increasing amount of wastewater and global energy demand. Algae have proven to be effective and cost efficient in wastewater treatment in removing harmful impurities, such as heavy metals and nutrients. Algal biomass is relatively inexpensive to cultivate. Some cultivation methods also involve the usage of CO 2 as algae food, helping to eliminate CO 2 content in industrial areas. However, it is important to note that the effectiveness of algal remediation is dependent on retention time, light intensity, temperature, and pH level. The algal biomass can also be converted into important biofuels, such as biodiesel and other value-added products. The most efficient and commonly used techniques are transesterification of algal lipids and pyrolysis of algal biomass. Biodiesel produced from algal biorefinery meet both the American (ASTM D6751) and European (EN14214) standards for diesel quality as indicated in Table 2. Algal bioethanol also plays an important role in replacing diesel in the transportation industry. Commercially, diesel blends with bioethanol are known as 'E10' and 'E20,' with 10% and 20% of bioethanol percentage, respectively. Through the overall review from this article, future directions should be toward investigation and review of co-mingled and integrated technologies and processes applied to produce bioenergy and value-added products from algal biomass. Further focus could be given to the recent publications on the comparison between the sole algal biomass and its coculturing with other consortia.
Author contribution NL contributed to investigation, methodology, visualization, writing-original draft. YG contributed to investigation, methodology, visualization, writing-original draft. GA contributed to validation, writing-review and editing. VR contributed to conceptualization, supervisor, validation, writing-review and editing.
Funding This research did not receive any specific grant from funding agencies in the public, commercial, or not-for-profit sectors. Algal biomass dual roles in phycoremediation of wastewater and production of bioenergy and value-added products.

Conflict of interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Ethical approval This article does not contain any studies with human participants or animals performed by any of the authors.
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http:// creat iveco mmons. org/ licen ses/ by/4. 0/.