Introduction

Fresh water is the most demanding and valuable commodity resource for the future. Escalating population and widening industrialization utilizes a large amount of freshwater for different purposes and generates a huge volume of wastewater. The release of untreated wastewater into the environment creates a severe danger to the ecosystem (Ummalyma et al. 2021). Qadir et al. (2020) showed that presently approx. 380 trillion L/y of wastewater is produced throughout the world and Asian counties are the leading producer of wastewater (~ 159trillion L/y), followed by Europe and North America. A report from UNESCO, United Nations (2017) showed that approx. 80% of the untreated wastewater is released into the water bodies. A study showed that developed and developing countries treat 70% of wastewater, whereas medium-income countries 38% treatment and appro.8% in low-income countries. Meanwhile, 40% of the world will face a freshwater crisis in 2030, which will be a serious social and economic challenge in the coming years (Sun et al. 2016; Sato et al. 2013). Among different food processing industry generates huge amounts of waste and wastewater. According to the report of Boland et al. (2013), Food and Agricultural Organization showed that from 2000–2050 milk and meal production would increase globally by 82 and 100% respectively. Reports highlighted that beer production in many of the top countries reached 199 million kiloliters. For one liter of beer production approx. 4.5L of water is consumed (Arantes et al. 2017).

Food processing is the crucial part of food supply chains and its water footprint is greater considerations, for significant water usage in manufacturing and a huge volume of wastewater (Menese et al. 2017). Food processing wastewaters are organic and it enhances the growth of microorganisms and causes eutrophication of freshwater bodies if discharged without treatment. This wastewater does not contain toxic metals such as heavy metals and is non-toxic compared with other industrial effluents (Ghimpusan et al. 2017). Treatment for nutrients and pollutants removal from food processing wastewater can be performed by a physical and chemical process. The drawback of the traditional method is the usage of strong chemicals; secondary pollution to the atmosphere, the high operating costs could reduce the efficiency during commercial applications (Li et al. 2019). To overcome these existing challenges, there is an increasing attraction towards biological green processes for wastewater treatments and pollutants remediation all over the world. To deal with the emerging concerns about environment and biodiversity preservation, there are stringent regulations on safe discharge, which has directed the need for alternative innovative and sustainable processes for waste mitigation (Hussain et al. 2021; Ummalyma et al. 2021, Singh et al. 2020; Zhuang et al. 2020; Saravanan et al. 2018; Sharma et al. 2021). In this regard, the biological wastewater treatment option based on the microalgae-based process offers potential promises (Sirohi et al. 2021a, 2021b; Yu et al. 2021; Joun et al. 2021).

Microalgae are attractive biocatalysts to meet the wastewater treatment process and energy crisis. Microalgae can grow faster, remove nutrients, and treat wastewater simultaneously produce biomass suitable for biofuels and biorefinery products (Ummalyma et al. 2021; Hussain et al. 2021). Microalgae can able to grow different trophic modes of nutrition. Photoautotrophic algae trap CO2 and sunlight from the atmosphere for energy and carbon for their growth and reproduction meantime helping in the mitigation of CO2 and valuable products. Heterotrophic microalgae take organic nutrients for carbon and energy sources from the wastewater and produce biomass for biorefineries whereas mixotrophic microalgae can grow by trapping CO2 and organic carbon available from the wastewater as energy and carbon source for their multiplication and produce biomass for different applications (Hussain et al. 2021; Ummalyma et al. 2021). Several kinds of research have been performed for the purification of wastewater using different microalgal species. A recent report highlighted that microalgae have the potential for effective removal of high concentrations of organic carbon, phosphorous, and nitrogen from food processing wastewater and produced different value-added products (polysaccharides, biofuels, pigments, and amino acids (Nur and Buma 2019; Ummalyma et al. 2021). In this present review, discussing the importance of food processing wastewater as a nutrient medium for low-cost biomass for circular bioeconomy biorefinery products, and characterization of various food processing wastewaters are highlighted. Following different bioreactors used for microalgae, cultivations are detailed with mechanisms of nutrient absorption. In the end, harvesting processes of microalgal biomass, possible biorefinery products derived from wastewater-grown microalgae are ascribed and void gaps in this field for future research outlook are discussed.

Different sources of food industrial effluents and their composition

Food processing wastewaters (FPWWs) are generated mainly from dairy processing, meat processing, edible oil processing, starch, and brewery processing units. FPWWs are characterized by high organic contents in the form of total dissolved solids (TDSs), total suspended solids (TSSs), biological oxygen demand (BOD) and, Chemical oxygen demand (COD), oils, fats, and grease. The composition and contamination loads of the FPWWs depend on the type of industry, raw materials, and processing technologies (Amin et al. 2021; Subha et al. 2020; Li et al. 2019). It is non –toxic due to traces of chemicals such as antibiotics and heavy metals; however, microalgae biomass production in FPWWs is suitable for high-value chemicals such as proteins, polymers, pigments, polysaccharides, and DHA (Gecim et al. 2021; Humaidah et al. 2020). The difference in nutrient composition of FPWWs also influences microalgae growth and biochemicals. Different types of FPWWs and their compositions are described in the flowing section.

Starch processing wastewater

Starch processing wastewater (SPWW) is a typical waste stream from FPWW, which is rich in nutrients, is non-toxic, and an ideal medium for microalgal biomass production. The starch processing industry consumes a huge volume of water and hence produces 6–10m3 of wastewater per ton of starch processing. SPWW discharged from the starch processing industry are characterized by high organic nutrients in the form of COD (6000–30,000 mg/L) with a high amount of dissolved organic matter (Tan et al.2019; Wang et al. 2017). Cassava is the important staple food crop in the world; its processing generates 600L of wastewater to treat per ton of root. This wastewater is rich in high starch with BOD, COD, and ammonium nitrogen content with total dissolved solids with cyanoglycosides (de Carvalho et al. 2018). In addition to this, it contains high potassium salts, protein, organic acids, minerals, dissolved starch, oils, and fats. These components act as essential nutrients that support microalgal biomass production (Li et al. 2020).

Meat processing wastewater

Meat processing wastewater (MPWW) characteristics are depending on the factors such as the size of the processing unit, type of animal processing, the volume of water consumed per animal, and the washing process. Meat production reached approx.330million tons in the case of bovine, pig, and poultry. The leading meat processing countries are Russia, United States, Brazil, Mexico, and India (Food and Agricultural Organization 2018). Escalating demands for meat products, the amount of MPWW generated through slaughter, washing, and packing process. Wastewater produced as a result of meat processing units are enriched with a high quantity of nutrients in the form of organic matter, volatile fatty acids (VFA), detergents, pathogens, antibiotics, and heavy metals, intense coloration, and odor (Bethi et al. 2020; Aziz et al. 2019).MPWW has high concentrations of total organic carbon, total nitrogen, phosphorus, and these nutrients are essential macronutrients required for microalgae growth and biomass production. Aziz et al. (2019) reported that meat and slaughterhouse wastewater has 1100–15,000 mg/L of COD, 600-3900 mg/L of BOD, 50-800 mg/L TN, 20-300 mg/L ammonia, 15-200 mg/L TP,220–6400 mg/L of TSS, 350-1340 mg/L alkalinity, 175-797 mg/LVFA, 40–1385 mg/L of oil and grease respectively. A recent report showed that the cultivation of Chlorella vulgaris in acid precipitated poultry slaughterhouse wastewater removed 83% COD in batch mode. The maximum biomass produced from this method of cultivation was 1.2 g/L (Hilares et al. 2021). Phycoerythrin was purified from the biomass of Porphyrium cruentium cultivated from the MPWW highlighted that this medium is suitable for obtaining bioproducts from microalgae (Balaraman et al. 2021).

Dairy wastewater

Dairy processing is one of the key sources of wastewater generated all over the world. The dairy processing factories convert' raw milk to condensed milk, pasteurized milk, produce products such as creams, whey, cheese, butter, yogurt, etc. The generated wastewater mainly consists of milk product residues by-product of unit operations and wastewater generated by cleaning of milk equipment, washing of containers, quality control, and laboratory analysis. Every liter of milk processing approximately 0.2 to 10L of wastewater discharged (Li et al. 2019; Ummalyma et al. 2014). Wastewater quality and characteristics may fluctuate subject to the type of processing methods adopted, final products, and size of the factory (Zkeri et al. 2021). There are two different types of wastewater is generated from this industry; high-strength concentrated wastewater originated from cheese, whey, and milk permeate characterized by the high amount of COD (100 g/l) due to the high content of organic matter, fats, and lactose. The medium-strength dairy wastewater does not contain COD higher than 5 g/L (Zkeri et al. 2021). In general dairy, wastewater is characterized by high COD, BOD, and volatile solids. Major components present in this wastewater are soluble milk proteins, lactose, lipids, fatty acids, minerals, salts and detergents content, nitrogen, and phosphorous. Hence, this wastewater is rich in carbon, nitrogen, and phosphorous and it could be an excellent nutrient medium for microalgae biomass production for low-cost biorefinery products (Sawin et al. 2020; Li et al. 2019).

Winery and brewery wastewater

Winery wastewater (WWW) is produced as a result of different process activities such as washing during grape harvesting, pressing, fermentation process, bottling, and filtrations. It has been reported that 0.5- 14L of wastewaters are generated for 1L of wine production. WWW is organic due to the sugars, organic acids, polyphenols, esters aldehydes, soaps, and other detergents with low pH (Senapathi et al. 2020).

The brewery waste industry produces a huge volume of wastewater during the brewing process. It has been reported that 4-8m3 of wastewater is produced per m3 of beer production (Kebede2018). Reports showed that this wastewater has high organic loads (2000–6000 mg/L) in the form of COD with total nitrogen (25–80 mg/L) and phosphorous (10–15 mg/L). Brewery wastewater (BWW) is the suitable nutrient medium for microorganisms due to less heavy metals content and provides optimum growth conditions with neutral pH (Amenorfenyo et al. 2019; Farook et al. 2013). BWW contains sugars, volatile fatty acids, soluble starch, alcohols, and celluloses. BWW pH levels are variable depending on the concentrations and type of chemicals cleaning and sanitizing purpose (Amenorfenyo et al. 2019). Recently this wastewater is given attraction as a growth medium for microalgae biomass production for biomolecule recovery. Co-cultivation of Scenedesmus sp., and Chlorella sorokiniana in BWW, showed that 78% organic pollutant removal with 90–97% removal of ammonia, total nitrogen, and phosphorous. Produced biomass recovered 16 mg/l of chlorophyll, 9.57 mg/L of carotenoids, and 30.4 mg/L of carbohydrates respectively (Han et al. 2021). Song et al. (2020) reported that the cultivation of Chlorella sp.,Spirulina, and Scenedesmus sp., in the BWW prove that Scenedesmus sp., are fast-growing and adapted organisms in BWW with 1.02 g/L of biomass production with nutrients removal of COD (73%), ammonia (89%), total nitrogen (75%), and phosphorous (95%), respectively.

Oil mill wastewater

Oil mill effluents are mainly originated from the processing of olive oil and palm oil. Palm oils mill is mainly found in Southeast Asian countries like Thailand, Malaysia, Nigeria, and Columbia. The blooming of oil mill agribusiness generates enormous waste and effluents. Releasing of Palm oil mill effluents (POME) are tenfold higher than crude palm oil (Cheng et al. 2020). During the production of palm oil, approx.1.5m3freshwater is required for the processing of one-ton fresh palm fruit bunches, and concurrently generate 0.75 m3 of POME.

POME is unpleasant, greasy brownish, organic liquor with high chemical and biological oxygen demands. POME is a dark brown, viscous liquid consisting of 95–96 wt% of water, total solids of 4–5%, TSS of 2–4%, and high turbidity of 65, 590-69410NIU (Cheng et al. 2020).

The olive oil industry is active in European country mainly Serbia, France, Turkey, and Mediterranean Basin. Huge voluminous freshwater is used in the olive mill industry and finally discharged in the form of olive mill effluents (OME). Oil mill effluents are characterized by complex substrates composed of amino acids, inorganic nutrients such as calcium, magnesium, potassium, sodium, organic acids, and carbohydrates such as simple sugars and hemicelluloses (Li et al. 2019). Further characterization of POME showed that BOD and COD range from 15,000 to 30, 000 mg/L, and 40,000–90,000 mg/L respectively. TSS in the range of 20,000–40,000 mg/L, TDS between 15–30,000 mg/L, VSS in the range of 15–35,000 mg/L, respectively (Nur and Buma2019). Microalgae species are used for the phytoremediation of pollutants present in this wastewater and produce low-cost biomass for biorefinery products. Microalgae such as Chromochloris zofingiensis, and Haematococcus pluvialis were exploited to produce high-value molecules such as carotenoids and astaxanthin from biomass produced through the cultivation in POME (Fernando et al. 2021). Microalgae such as Coelastrella sp., Chlamydomonas sp., and Scenedesmus sp., were cultivated in POME showed 80% of pollutants removal by using raw and sterilized effluents (Udaiyappan et al. 2020). Phycoremediation and CO2 fixation from POME was studied with three microalgae species Chlorella sorokiniana UKM2, Chlorella pyrenoidosa UKM7, and Coelastralla. The result showed that these microalgae can be able to remove inorganic nutrients up to 100%. Two Chlorella sp. were cultivated in pretreated POME for biomass production, lipid content, and pollutants remediation. Results showed that 2.2 g/L of biomass with 11.2% lipid and 62% nitrogen removal, 47% COD reduction, and 30.7% total phosphorous reductions (Cheah et al. 2018). Table 1 represents different microalgae strains utilized for cultivation in food industrial wastewater for biorefinery products.

Table 1 Microalgal strains used for cultivation in various food industrial wastewaters for biorefinery products

Biorefinery of food industry wastewater for production of value-added products

Low-cost microalgal biomass production for biorefinery products in food industrial wastewater is advantageous due to low toxicity in nature. Mass production of microalgae biomass in wastewater is possible for biomolecule extractions for different applications due to the absorption of the different organic and inorganic nutrients present in the wastewater streams that assist fast growth and biomass production (Ummalyma et al. 2021). A challenging issue in microalgae biomass production in the wastewater stream is the harvesting of biomass from the growth medium and biomolecules extractions. Selection of cultivation system for mass production of biomass is depending on the characteristics of wastewaters, type of microalgae chosen, and final applications. A suitable culture system should be easy to handle, low cost of construction, provision for adequate light supply, be capable of effective transfers of liquid and gas, no risk for contaminations (Tan et al. 2020).

Cultivation methods

Microalgae have the evolutionary capability to adapt to the harsh environment, rapid growth, and high photosynthetic capacity along with the accumulation of bioproducts within their cells makes them suitable industrial feedstock. Microalgae large-scale cultivation does not require fertile land, freshwater, pesticides, and herbicide compared to its terrestrial counterpart. Many reports are highlighted that microalgal biomass is successfully produced from different wastewater resources (Ummalyma et al. 2021; Fernando et al. 2021; Singh et al. 2020; Tan et al. 2020; Li et al. 2019). At the research level, microalgae produce biomass with a high growth rate in laboratory conditions, but when it comes to large-scale production still more challenge is there to recover high biomass productivity. Microalgae cultivation methods are generally categorized into the open pond, photobioreactor, and hybrid cultivation systems. The selection of cultivation methods is further reliant on the growth mode of microalgae such as phototrophic, heterotrophic, and mixotrophic nature.

Open cultivation systems

An open cultivation system is preferred for the large-scale cultivation of microalgae for low-cost biorefinery products. The open cultivation system is perhaps the oldest and most simple experimental setup to grow microalgae, most frequently used in outdoor conditions using sunlight. This cultivation has usually given importance in the industrial-scale production of biomass mainly due to simple operation, ease of construction, and low energy requirements (Bhatia et al. 2021). There are several open cultivation systems are utilized for microalgal biomass production such as natural ponds, lakes, specially designed reactors such as raceways, and circular ponds. The circular pond is the first artificially fabricated having a depth of 30 to 70 cm and a depth of 45 m with a rotating agitator for mixing and preventing biomass sedimentations. This system is larger and causes water resistance which leads to mechanical stress on the agitations. The design of this pond is limited by its bigger size, high construction cost, and energy requirement for the agitation process (Tan et al. 2020). A raceway reactor consists of a series of closed-loop channels, 30 cm deep and is fitted with a paddle wheel to avoid sedimentations and enable recirculation of microalgae culture broth for proper nutrients and CO2 supply to enhance the growth rate and biomass production (Bhatia et al. 2021). Outdoor open raceways were used for the commercial of production cyanobacteria and microalgae biomass. Raceways are the best open pond cultivation design available mainly due to energy efficiency and a single paddlewheel is sufficient for proper agitations of a 5-hectare raceway pond (Rogers et al. 2014). The benefits of open systems were easy to maintain and cost-efficient due to using solar energy as primary energy input.A circular open pond system is used in Taiwan and Japan for cultivating Chlorella sp., (Shen et al. 2009). Sapphire Energy Columbus, an algal biomass farm located in the United States successfully utilized a raceway pond for the production of 520 metric tons of dry microalgae biomass for continuously 2 years of operation without any technical problems (White and Ryan 2015). High rate algal ponds are preferred for wastewater treatment with shallow depth helps microalgae to proliferate and produce high biomass. Chlorella zofingiensis was cultivated in an open plastic pond by using dairy wastewater to produce biomass. Tan et al. (2017) utilized closed rectangular tanks of 175L capacity used for biomass production from Chlorella pyrenoidosa using alcohol wastewater. Food industrial effluents are treated in the outdoor MaB-floc raceway pond showed 20% removal of phosphorous with biomass productivity of 31.3 tons total suspended solids ha/pond/year (Hende et al. 2016). Rose oil processing wastewater is used for the cultivation of Chlorella sp., in raceway reactor showed that better removal of organic and inorganic nutrients. The component analysis of the resulting biomass showed suitable for application as a biofertilizer (Uysal and Ekinci 2021). It has been reported that open raceway pond cultivation of Nanochloropsis in different geographical locations under outdoor conditions showed that biomass productivity is varied from 2000 to 700 t km−2 year −1. The study showed that microalgae growth robustly depends on local climatic factors like direct and indirect solar radiations, wind velocity, ambient air temperature, and relative humidity (Banerjee and Ramaswamy 2019). The limitation of the open system is contamination due to microorganisms, and protozoa along with unfavorable weather conditions that could hamper the biomass productivity even total loss of desired strains. The presence of rotifers in the open pond system causes a culture crash and eventually reduced the biomass yields. The shading effects due to low penetration light, ineffective photosynthesis also affect biomass production in these cultivation systems. Growth relevant parameters such as temperature, pH, and light availability cannot be regulated. Summer periods evaporations are still challenging issues in open systems (Ummalyma et al. 2021). Large open outdoor systems are used for the cultivation of many microalgae species for resource recovery from wastewater for sustainable biorefinery products.

Closed cultivation systems

Closed cultivation systems are potential for the controlling and physiological conditions of microalgae. The bioreactor used for controlled growing of microalgae is a photobioreactor (PBR). PBR is a commonly used closed system for biomass production and construction and design are determined based on the microalgae strain selected for cultivation. The PBR explored for microalgae cultivation required high operating and capital costs. However, this system is efficient for high biomass production with proper control of culture parameters, which assist in preventing contamination problems compared with an open system. In PBR, the intensity of irradiation, the flow rate of air and CO2, agitation, and pH can be controlled according to the ideal conditions suitable for microalgae strain. In photobioreactor, microalgae can be cultivated under the desired mode of growth (heterotrophic, mixotrophic, and phototrophic), for that external supply of carbon source and inorganic carbon could be provided for better microalgae growth and biomass production. The limitation of the system is biofouling and cleaning. There are many types of closed PBR are available depending on the shape, geometry, and material used for the construction such as flat-plate, tubular, bubble column, and hybrid PBR. Commonly used PBR is horizontal tubular PBR for microalgae cultivation due to high biomass productivity; bubble column and airlift are normally used in large-scale industries (Yin et al. 2020, Bhatia et al. 2021; Ummalyma et al. 2021). For the low-value products (biofuel), utilization of PBR is not cost-effective, but it is useful for the making of high-value lucrative products. Fluidized bed photobioreactor used for the biomass production and nutrients removal in palm oil mill effluent showed that 90% removal of phosphorous and nitrogen. The maximum biomass production of 3.2 g/L with 0.36 g/L of lipid from Nannochloropsis sp (Cheirsilp et al. 2017). Pilot-scale tubular photobioreactors are used for the cultivation of Chlorella pyrenoidosa using food processing wastewater. Biomass production ranges between 1.8–2.1 g/L with 15% of lipid with effective pollutants removal 55% COD, 67% total phosphorous, and 88% of total nitrogen (Tan et al. 2021). Utilization of photo bioreactor containing shrimp wastewater for the cultivation of Synechocystis sp. PCC6803 was used for biomass production, and conversion of bioplastic poly-β-hydroxybutyrate (PHB). The study showed that 96% phosphate, 98% ammonia, 80% nitrates, and 67% nitrite were removed from the wastewater, and biomass is accumulated with 32% DCW of PHB (Krasaesueb et al. 2019). Tubular photobioreactor operated continuously for the cultivation Tetraselmis suecica in fish processing industry showed the biomass production of 1 g/L with 49% removal of nitrogen and 99% removal of phosphorous respectively. The final biomass is applied for feed application for juvenile shellfish (Michiel et al. 2014). Photobioreactors are used for the cultivation of monoalgae, and consortium for biomass production using dairy wastewater. Result showed that microalgae consortium consists of Chlorella and Scenedusmus sp., produced higher biomass of 5.1–5.4 g/L with removal of 62.86% COD and phosphorous of 95.96%. The monoculture of Chlorella sp., produced 4.72 g/L (Qin et al. 2016).

Hybrid system

A hybrid cultivation system (HCS) is designed for the amalgamation of two or more cultivation systems to produce biomass and resource recovery from wastewater. The HCS is integrated with an open system, photobioreactor, and certain cases with algal turf scrubber (Bhatia et al. 2021; SundarRajan et al. 2019). In this system, optimum cultivation condition is maintained in the first stage for accelerating biomass production yield and the second stage expose biomass into the stressful environment to enhance the desired product. It has been reported that average areal biomass productivity in HCS is higher than the non-hybrid systems. It is 46 to 74% higher than open systems and 12.5% enhancement of biomass than PBRs (Liu et al. 2018; Tan et al. 2017b). HCS can be considered as a better approach for monoculture biomass production of oleaginous microalgae. The report showed that 47 days of HCS cultivation of microalgae efficiently produced biomass from the target microalgal strains (Yun et al. 2018). This system is suitable for wastewater coupling with microalgae for getting the maximum benefit of each reactor, which helps in the reduction of the production cost of each kilogram of microalgal biomass (Salama et al. 2017). Cultivation of Tetraselmis sp. was used in HCS containing closed photobioreactor and open pond for enhancing the lipid yield. First microalgae are cultivated in 1200L PBR followed by second cultivated in 1000L open raceway pond with nutrients deficient media. The study showed that HCS produced more lipid yield compared to single-phase cultivation either in PBR or open ponds used as a control. Maximum biomass productivity obtained in a hybrid system is 0.5 gm-2/days per solar irradiation of 1 kWhm−2 (Narala et al. 2016). Production of biomass from target microalgae strains from the algal feeders in the open pond is a challenge in the industry. In such a case, the hybrid system is advantageous to produce biomass from desired microalgae. Yun et al. (2018) utilized a PBR-open raceway pond hybrid system for the cultivation of microalgae. Here PBR act as a continuous supply of inoculum of target microalgae to sustain microalgae growth and biomass production in an open raceway pond. Cultivation of Scenedesmus obtusiusculus in hybrid photobioreactors showed that biomass concentration of 1.2 g/L with a 0.38/day of specific growth rate, and biomass productivity of 41.8 mg/L/day using flue gas supplementation (Estrada-Graf et al. 2020).

Mechanisms of nutrients absorption by microalgae

Wastewater contains both inorganic and organic nutrients. The mechanism of nutrient absorption is not well understood in microalgae. Food industrial wastewater is enriched with inorganic nutrients of nitrate, nitrite, and organic nitrogen, phosphates, and CO2.These are the essential nutrients for the growth, and reproduction of microalgae. Microalgae can consume both CO2 and HCO3 ions for their photosynthetic process. Microalgae can able to fix CO2 to produce organic matter by utilizing NADPH and ATP generated through the light reaction of photosynthesis. The detailed mechanism of the Calvin cycle and CO2 concentration mechanism is previously reported by Su et al. (2021).

Nitrogen is the crucial micronutrient required for the growth and reproduction and vital components of many microalgae cellular compounds. It is required for the synthesis of organic nitrogenous compounds inside the cell such as ATP, DNA, and RNA (Barsanti and Gualtieri 2006). During the assimilation process, microalgae convert inorganic nitrogen into organic nitrogen. The oxidized forms of inorganic nitrogen are translocated from the plasma membranes and undergo reduction to produce ammonia and finally incorporated into amino acids. The nitrogen metabolisms are linked with carbon metabolism inside the cell. The incorporation of ammonium ions to amino acids required a carbon backbone in the form of keto acid originated from oxaloacetate, energy in the form of ATP, NDPH are used as reducing agents sfor the synthesis of amino acid aspartate, glutamine, and glutamate (Lea and Mifin 2003). The nitrate and nitrates are reduced to ammonium ions by two enzymes such as nitrate reductase and nitrite reductases, respectively. Nitrate reductase converts nitrate to nitrite by utilizing NADH and pyrimidine nucleotides for transferring two electrons. Later nitrite reductase reduces nitrite to ammonium ions, by utilizing ferredoxin as an electron donor. Finally, the glutamine synthase enzyme catalyzes the transfer of the ammonium ions to glutamate using ATP molecules to convert glutamine (Fernandez and Galvan 2007). Another less energy expensive nitrogen source is ammonium preferred by microalgae. Transport proteins belonging to the ammonium transporter family are involved in the transport of ammonia across the membranes. These protein families are detected in diatoms and Chlamydomonas (Maestrini et al. 1986). Phosphorous also play an important role in the metabolic process and is found in proteins, lipids, and nucleic acids. Phosphorous fund in wastewater is in the form of polyphosphate, organic phosphate, and orthophosphate. The phosphate is assimilated by microalgae and incorporated in the nucleic acids, proteins, and lipids during the biosynthetic process through phosphorylation and synthesis of ATP (Martinez et al. 1999). The excess available in the form of orthophosphate can be stored as polyphosphate granules within the cells for future use.

Organic carbons present in the food industrial wastewater are mainly consisting of fructose, galactose, glucose, alcohol, lactose, and organic acids. Responds to these compounds are depend on the species-specific and concentration (Perez-Garcia et al. 2011). It has been reported that the carbohydrate transport system is involved in the metabolism which is energy-dependent and stimulated by irradiance (Morales-Sánchez et al. 2015). Glucose is an organic carbon substrate commonly consumed among microalgae (Ummalyma and Sukumaran 2015). In wastewater, microalgae are mostly undergoing a mixotrophic mode of growth. The glucose is metabolized in the cytosol by two different metabolic pathways such as the pentose phosphate pathway (PPP) in the absence of light and Embden Meyerhof Pathway (EMP) in the presence of lights (Perez-Garcia et al. 2011). Metabolism of carbon by microalgae mainly undergoes glycolysis, pentose phosphate pathways (PP), phosphorylation, and TCA cycle. Glucose utilizing microalgae metabolize glucose through glycolysis, TCA cycle, and NADPH synthesizing pool and assist the biosynthesis of the product via the acetyl-CoA route. Fructose is utilized in glycolysis pathway catalyzed by hexokinase (Su et al. 2021). Microalgae utilizing C5 sugars are metabolized by PP pathways. The report showed that Botryococcus braunii consumed mannose by PP pathways in presence of light (Tanoi et al. 2011). Mannose utilized by Schizochytrium sp. for biomass production. It has been reported that EMP pathway, oxidative phosphorylation, and TCA cycle are continued in mitochondria with the presence of glucose under different growth mode (phototrophic, heterotrophic, and mixotrophic) in Chlorella pyrenoidosa and Synechocystis sp., (Yang et al. 2000; Hong et al. 2007).

Acetate is another carbon found in wastewaters. Assimilation of acetate is mediated by acetylation of coenzyme- A assisted by acetyl-CoA synthetase to form acetyl-CoA with the help of ATP molecule (Droop 1974; Boyle and Morgan 2009). Acetate metabolism occurs in mitochondria and glyoxysomes through TCA cycle and glyoxylate cycle for the incorporation of acetyl clusters into the carbon skeleton.

Alcohols present in the winery wastewaters undergo oxidations to acetaldehyde and acetate by two enzymes such as aldehyde dehydrogenase and alcohol dehydrogenase present in the cytosol and mitochondria. Later acetate is converted to acetyl coenzyme A via acetyl-CoA synthetase, which enters into glyoxylate cycle and TCA cycle. Acetyl-CoA is used for NADH biosynthesis in the TCA cycle and converted to succinate and malate by isocitrate lyase and malate synthase (Ono et al. 1995; Yoval-Sanchez et al. 2011). Microalgae such as Arthrospira sp., Scenedesmus sp., Chlorella sp., and diatoms are reported microalgae species for the assimilation of alcohols from the growth medium for biomass and bioproduct accumulation (Bezerra et al. 2014; Matsudo et al. 2016). Amino acids present in the wastewater are absorbed via the glutamate-glutamine pathway and stored as amino acids and intermediate molecules which are used in the other biochemical process (Chen et al. 2017). The simplest representation of nutrient uptake by microalgae are represented in Fig. 1.

Fig. 1
figure 1

Simple representation of nutrient uptake metabolism by microalgae from wastewater

Biomass harvesting strategies

Algal biomass harvesting refers to the detachment of algae from its nutrient/growth medium using suitable techniques such as flocculation, centrifugation, floatation, filtration, and a combination of these techniques. The selection of a suitable method of harvesting depends on certain harvesting traits or requirements that deal with the cost, processing time, biomass species and quality, separation efficiency, and toxicity (Singh and Patidar 2018). Microalgae have a negative surface charge and density is also equal to the growth medium and hence always remains cells are dispersed in the medium. However, several harvesting methods are adopted for neutralizing the microalgal surface change for effective dewatering of microalgal biomass from the media (Ummalyma et al. 2017).

Floatation, flocculation, filtration, sedimentation, and centrifugation are the most commonly used methods for algae harvesting (Xu et al. 2021). In the floatation technique, small bubbles are produced using either dissolved air or dispersed air mechanisms (Ndikubwimana et al. 2016). The generated bubbles attach themselves to the microalgae cells and float them to the surface due to lower density that enables easy algal biomass harvesting at low energy demands. Although the floatation technique is time saving, efficient, requires low space and can be used for large-scale harvesting, it has certain disadvantages. For instance, if the bubbles produced are oversized, it could break up the floc and therefore, surfactants are usually needed for a stabile floc. In recent studies, there has been a discussion on ballasted floatation that would use a bubble less system generated from low-density materials (LDMs) for harvesting free-floating microalgae (Xu et al. 2021). The said LDMs in the newly developed ballasted floatation could include microspheres made of sodium borosilicate glass, fly ash or waste cooking oil that would increase the solid–liquid separation efficiency at the harvesting surface (Zhang and Zhang 2019). In flocculation, chemical salts, aluminium, and iron are added to the algal biomass media to promote the aggregation of microalgal cells to form a floc. Caetano et al. reported that modulation of pH or the addition of CaCl2 for the harvesting of Arthrospira maxima showed that alkaline pH and CaCl2 concentrations improved the efficiency of biomass harvesting (Caetano et al. 2020). The chemical flocculants are generally toxic and need an additional treatment process for their removal that contributes to the processing cost (Rinanti and Purwadi 2018). To tackle this problem, several bioflocculants made from chitosan and acrylic acid based biopolymers were developed which were more eco-friendly which could attain 90% cell recovery as compared to 95% in chemical flocculants (Zhu et al. 2018).

Bioflocculation or auto-flocculations happens mainly due to the secretion of biopolymers of extracellular polymeric substances. Reports showed that biopolymers produced by microbes and microalgae are used for biomass harvesting from the wastewater for low-cost microalgal biorefineries. Utilization of poly-γ-glutamic acids produced from B.licheniformis for the harvesting of microalgae Desmodesmis sp., showed 98% flocculation efficiency (Ndikubwimana et al.2016). EPS produced by Scenedesmus acuminatus are used for the flocculation of the same microalgae and the harvesting efficiency > 80%. Low molecular weight EPS composed of mannose and glucose influences the microalgal biomass harvesting process (Yang et al. 2020). Detailed bio-flocculation techniques and their flocculation mechanisms are discussed in a review reported by Ummalyma et al. (2017).

Electromembrane filtration and ultrafiltration are also used for the harvesting of microalgae biomass. The huge advantage of these methods is to support the separation process based on charge and molecular weight. Electromembrane filtration is a very useful method for harvesting Chlorella sp. KR-1 improves four fold (6.47) concentration factors (Kim et al. 2014).

Biomass quantity, biomass quality, operational cost, processing time, species specific and toxicity are the main criteria to choose the suitable harvesting techniques (Singh and Patidar 2018). According to these criterions, coagulation/ flocculation, centrifugation and filtration are the widely used techniques for microalgae harvesting. These techniques can be used alone or in combinations for raising the harvesting efficiency. Filtration and coagulation are effective techniques for high quality and quantity of cells but economically not feasible because of high operating and capital cost. Flotation and flocculation are fast, easy and can be used at large scale with low space requirement but use of chemical may be expensive and chances of contamination is also very high. Centrifugation harvesting is fast, convenient and suitable for all strain of microalgae but operating and maintenance cost make the process costly for large scale harvesting. Flocculation followed by gravity sedimentation is best and low cost operation among different combination of harvesting techniques.

Products from microalgae

Microalgae are rich in high-value metabolites like carbohydrates, proteins, lipids, pigments, essential fatty acids, vitamins, minerals, etc. (Udayan et al. 2021). Microalgae have been considered as a potential feedstock for biofuels, food supplements, and pharmaceuticals because of their high nutrient profile (Udayan et al. 2017). Microalgal cells consist of a high amount of lipids, proteins, and carbohydrates which favors the production of biofuels (Culaba et al. 2020). But the industrialization of microalgal metabolites is still in early stages because of the high cost of large-scale cultivation. Microalgal biomass production together with industrial wastewater management can be considered as a cost-effective method to reduce the needed for freshwater and fertilizers needed for microalgal growth (Jayaseelan et al. 2021). Cultivation of algae in wastewater increases the biomass and secondary metabolite production suitable for biorefinery product conversions because of the high nutrient load in the wastewater and also helps in wastewater treatment (Ummalyma et al. 2020; Ren et al. 2018).

Fatty acids and oils

The processing of wastewater using microalgae leads to the accumulation of fatty acids and oils and this bioprocess has gained much attraction from both industrial and research areas for the production of nutraceuticals, pharmaceuticals, biofuels, and oleo-chemical industries (Leong et al. 2021). Microalgae can able to accumulate 30–80% of lipids in their cells (Yong et al. 2020). Lipids can be polar and non-polar. Polar lipids like phospholipids, glycolipids, etc., are used as integral constituents of cell membranes and non-polar lipids like triglycerides, sterols, etc., are stored as energy reserves (D’Allessandro and Antoniosi 2016). Depending upon the cultivation conditions, microalgae accumulate TAG as lipid droplets. In terms of fatty acid composition, microalgae contain different types of fatty acids like saturated fatty acids (SFA), monounsaturated fatty acids (MUFA), and polyunsaturated fatty acids (PUFA) (Udayan et al. 2017). PUFAs are a nutritionally important class of fatty acids with proven health benefits (Udayan et al. 2021). Omega 3 PUFAs gained more attention recently especially during the Coronavirus pandemic conditions, due to their antioxidant activities, immune regulation, inflammation reduction, prevention of cardiovascular, and neurological disease conditions (Udayan et al. 2017, 2021). Docosahexaenoic acid (DHA) and eicosapentaenoic acid (EPA) are the two important essential omega-3 fatty acids derived from microalgae.

When microalgae are subjected to different types of environmental stress and cultivation conditions, they will accumulate fatty acids and oils. Wastewaters released from different industries are rich in nutrients that support microalgal growth and metabolite production. Co-cultivation of microalgae with other bacteria will also help to increase lipid productivity (Sun et al. 2019). Different stress factors increase the microalgal lipid and fatty acid accumulation by changing the carbon flow conversion, redox balance, and stress hormone levels, which regulate lipid biosynthesis and conversion (Yew et al. 2019). Microalgae achieve high biomass content in a nutrient-rich wastewater medium which supports lipid productivity in later stages of growth.

For biodiesel properties, SFAs are more effective because PUFAs are not suitable for the stability of the fuel. PUFAs can be considered as edible oil which helps to maintain the health and balance of the human body (Udayan et al. 2021). Different strategies are adopted to increase the PUFA content in microalgae like treatment with wastewater, nutrient stress, plant growth regulators, temperature, salinity, UV radiation, etc. (Udayan et al. 2018; Udayan and Arumugam 2017; Udayan et al. 2020; Yew et al. 2019; Sun et al.2019). Table 2 represents the different lipid yield (%) obtained from microalgae cultivated in wastewaters.

Table 2 Lipid production of different microalga species cultivated in wastewater

Pigments

Cultivation of different microalgae and cyanobacteria in wastewater has been considered as an effective method for biomass and natural pigments production while improving the quality of water (Acien Fernandez et al. 2018). Microalgae can recycle the nutrients present in the wastewater, reduce energy consumption and provide oxygen also which has specific environmental benefits (Acien et al. 2016). Natural pigments from microalgae and cyanobacteria have attracted industries such as textile, cosmetics, pharmaceutical, and food (Pagels et al. 2019). The main photosynthetic pigments from microalgae are chlorophylls, carotenoids, and phycobilins (Udayan and Arumugam 2017a). Recently many researchers have been focused on the production of these natural pigments from microalgae using wastewater because of its pharmaceutical and industrial needs (Ajijah et al. 2020). Chlorella vulgaris grown in tofu wastewater has shown increased carotenoid content of 72.20 mg/L (Ajijah et al. 2020). Phormidium autumnale cultivated in slaughterhouse wastewater in a bubble column reactor has increased the lutein, beta carotene, violaxanthin, zeaxanthin, and canthaxanthin production (Rodrigues et al.2014). Palm oil municipal effluent (1%) used for the commercial outdoor cultivation of Spirulina platensis increased biomass content to 1.8 g/L and phycocyanin content to 12.01% after 7 days of cultivation (Sukumaran et al. 2014). Chlorella vulgaris, cultivated in synthetic wastewater showed high biomass production (1.087 g/L) (Wang et al. 2015). In another study, C.zofingensis cultivated in wastewater from the molasses production unit, showed increased astaxanthin productivity (1.7 mg/L) (Liu et al. 2012). Mixotrophic cultivation of Chlamydomonas acidophila in wastewater conducted in a 1L batch reactor increased the production of lutein (9 mg/g) and zeaxanthin (7 mg/g) (Cuaresma et al. 2011).

For large-scale production of pigments from microalgae, some challenges must be addressed, such as the high cost associated with upstream and downstream processing. Currently, the use of wastewater in the cultivation media is shown to reduce the cost of cultivation. However, the bacterial contamination and presence of toxic metals in the wastewater make it unsuitable for food applications directly (Acien et al. 2016).

Exopolysaccharides

Exopolysaccharides (EPS) are group of high molecular weight biopolymers secreted by microalgae to the external environment during their growth and metabolism (Xiao et al. 2016). EPS can be seen either weakly attached to the microalgal cell wall or secreted into the external environment (Trabelsi et al. 2016). Microalgae are the potential producers of EPS, especially red algae and cyanobacteria. The major function of EPS is to protect the cells from stress conditions, cell to cell communication, adhesion, and biofilm formation (Dertli et al. 2015). In the food industry, EPS has been used as thickeners and gelling agents which helps to improve the texture and quality of food (Feldmane et al. 2013). EPS also possesses potential antibacterial, antiviral, anticancer, and antioxidant properties which help in the development of novel pharmaceuticals (Table 3). Because the EPS are secreted externally to the culture medium, it can be easily extracted and purified (Bafanaa et al. 2013).

Table 3 EPS producing microalgae and its potential applications

Even though, EPS has many potential applications, the yield from microalgae is the major limitation in the scale-up industry. The type and concentration of EPS obtained from microalgae mainly depend on cultivation system design, nutrient and cultivation conditions, as well as extraction and purification process. Therefore, the usage of wastewater can solve this problem up to one extent.

Bioethanol

Bioethanol has been considered an alternative to conventional petroleum because of the same chemical and physical properties (Jayaseelan et al. 2021). Microalgal biomass has been attracted and great interest as a renewable and sustainable source for the production of bioenergy. Bioethanol made from microalgal biomass (3rd generation biofuel) is also an environmentally friendly beneficial fuel. Microalgae can store large amount of carbohydrates within the cells as triacylglycerol and starch under different conditions. The carbohydrates can be effectively used as a carbon source or substrate during fermentation for the production of bioethanol (Dexter et al. 2015). Microalgae are also able to accumulate protein along with carbohydrates and lipids under unfavorable conditions. Microalgae breakdown the complex nitrogen molecules into proteins. The difference in salinity, light intensity, temperature, and nutrient load can also accumulate carbohydrates. The absence of lignin and low hemicellulose levels makes hydrolysis and fermentation yields in microalgae more efficient (Gonzalez et al. 2018). Microalgae like Chlorella, Dunaliella, Scenedesmus, Arthrospira, and Spirulina have been used for the production of bioethanol (Schneidner et al. 2013). These microalgae are considered as potential candidates because of the high amount of starch and glycogen which are the important factors for the production of bioethanol.

In bioethanol production, the processes depend upon the type of biomass and selection of pretreatment, saccharification, fermentation, and product recovery. The pretreatment of the biomass is a crucial process because it is essential for the recovery of sugars used in the fermentation process. However, it is necessary to develop a well-designed and efficient system for the cultivation of microalgae that can remove compounds that cause impurities in the final product. Moreover, studies are needed to develop an efficient biorefinery system using wastewater for the production of bioethanol from microalgae.

Biochar

Microalgae are considered as the potent candidate for biochar production because of their sustainable and renewable biomass properties (Yu et al. 2017). Biochar conversion from microalgae is a promising approach that is associated with the development of value-added products after the production of biofuel from microalgae. Many reports are available on the pyrolysis of microalgae but studies that focus on the byproducts are very few. Algal biochar developed from the treatment of wastewater can be considered as a future technology by using biomass for the generation of carbon-negative energy with environmental applications (Yu et al. 2017). But the high nutrient content in microalgae is a major disadvantage in pyrolysis. One possible solution for this problem is the specific extraction of lipids from algae for bio-oil production and the remaining residues can be used for the production of biochar in the biorefinery. Microalgae have been considered as the potential feedstock for future sustainable energy sources without depending on fossil fuels and the cultivation of microalgae can be efficiently used to reduce the emission of greenhouse gases (Vassilev and Vassileva 2016).

Biochar derived from microalgae is gaining more importance because of its long-term advantage in carbon sequestration and soil amendment properties in agriculture. Photosynthesis helps in the carbon dioxide uptake in biochar technology and the captured carbon undergoes pyrolysis to synthesis biochar with specific long-term carbon storage using soil amendment (Yu et al. 2017). The biochar derived from biomass has more than 90% carbon. Moreover, the biochar derived from microalgae is rich in nitrogen and other nutrients, which can be used as a fertilizer in agriculture. All these advantages make possibilities of algal biochar in an economically feasible manner soon. However, till now, there is limited research data is available on the production of algal biochar and its utilization. Various possible bioproducts recovered from the sustainable wastewater-based microalgal biorefinery are represented in Fig. 2.

Fig. 2
figure 2

Sustainable microalgal biorefinery products coupled with food industrial wastewater

Research needs and perspectives

Mass production of microalgae for biorefinery must join with centralized food industrial wastewater for addressing sustainability. Microalgae cultivation system with wastewater treatment needs to be improved for the proper nutrient absorption and uptake mechanism also unraveled for better understanding of microalgae nutrients absorption from wastewater for target product for biorefinery. Biomass harvesting from the wastewater is still a challenging issue, bio-flocculation process needs to be focused on the possibilities of lucrative products and full-scale operation of microalgae for wastewater treatment. Microalgae research needs to be focused towards the possibility of self-flocculation of microalgae for harvesting of biomass and organic matter released into the medium as flocculation enhancing molecule and its mechanism of biomass flocculation need to be explore. Wastewater contains may contain toxic molecules that can be can be resolved by focusing the isolation of robust microalgal strains resistant to infection by other algal feeders and other microorganisms, capable of aggregate formation, the potential for auto-flocculations helps protection from microalgae feeders. Another challenging issue by the cultivation of microalgae in wastewater is their non-sterile environments stimulate the growth of algal feeders, protozoans, and others. Research could be directed towards co-culturing of microalgae obtained from food industrial wastewater could produce more biomass with stable growth, meanwhile, adapts to the ecological niches that avoids the possibilities of culture crash and contamination problems that helps in reducing the production cost and will improve wastewater treatment efficiently (Mohsenpour et al. 2021). Application study for microalgae strain improvement using the technology of gene editing would solve several existing issues with algal biomass and metabolites. Challenges of microalgae are need to be addressed by progress in the technological innovations at many supply chains to produce enough biomass feedstock and target products at profitable production costs to increase competitiveness in industry.

Conclusion

Microalgae cultivation in food industrial wastewater is advantageous to achieve the dual role of nutrients removal and low-cost biomass production. This review thoroughly summarized the different sources of food industrial effluents, with mass production of microalgae in various cultivation systems. The biomass harvesting process and processing of different bio-products conversions from the biomass were also discussed elaborately. Therefore, the selection of robust species could be very crucial for wastewater treatment, resistance to tolerate adverse environmental conditions, self-flocculation, and algal feeders with biomass generation for multi-biorefinery products. Integration of microalgae biomass production with wastewater generates renewable bioproducts and offers multiple benefits to the environment and energy sector.