Application of Metal-Organic Frameworks and Covalent Organic Frameworks as (Photo)Active Material in Hybrid Photovoltaic Technologies

: Metal-organic frameworks (MOFs) and covalent organic frameworks (COFs) are two innovative classes of porous coordination polymers. MOFs are three-dimensional materials made up of secondary building blocks comprised of metal ions / clusters and organic ligands whereas COFs are 2D or 3D highly porous organic solids made up by light elements (i.e., H, B, C, N, O). Both MOFs and COFs, being highly conjugated sca ﬀ olds, are very promising as photoactive materials for applications in photocatalysis and artiﬁcial photosynthesis because of their tunable electronic properties, high surface area, remarkable light and thermal stability, easy and relative low-cost synthesis, and structural versatility. These properties make them perfectly suitable for photovoltaic application: throughout this review, we summarize recent advances in the employment of both MOFs and COFs in emerging photovoltaics, namely dye-sensitized solar cells (DSSCs) organic photovoltaic (OPV) and perovskite solar cells (PSCs). MOFs are successfully implemented in DSSCs as photoanodic material or solid-state sensitizers and in PSCs mainly as hole or electron transporting materials. An innovative paradigm, in which the porous conductive polymer acts as standing-alone sensitized photoanode, is exploited too. Conversely, COFs are mostly implemented as photoactive material or as hole transporting material in PSCs.


Introduction
In the last decades, the demand for sustainable clean energy sources, particularly solar energy, has constantly raised. In spite of the fact that the energy supplied by the Sun's radiation over one year is roughly 10,000 times higher than the world current rate of energy consumption, the state-of-art of the photovoltaic devices are not yet satisfactory because of their low efficiency, high cost and/or limited scale [1].
Nowadays, the most exploited (and efficient) technology for conversion of solar energy to electricity consists in silicon-based devices. In a classical silicon cell, the top and bottom layers are constituted of an n-doped and a p-doped silicon wafer, in which the charge of the mobile carriers is negative Although both metal/covalent organic frameworks are generally used for gas storage or catalysis, their optoelectronics and energy storage/conversion properties have been recently explored too [19,31,32]. In this work, we review and critically discuss recent advancement in the application of MOFs and COFs as active materials in emerging photovoltaic technology. It is worth to mention that throughout the present review, we mainly focused our attention on the application of MOFs and COFs in two classes of emerging photovoltaic technology, namely DSSCs and PSCs. With respect to OPV, as far as we are aware, just few examples have been reported in literature; therefore, here, we decided specifically to not tackle this aspect. Indeed, the reader is kindly addressed to some recent reviews for the principle of this technology [33,34]. Theoretically, porous polymers are very promising for this technology being mainly composed by two different organic building blocks, which can exhibit donor and acceptor features and can be used n-type and p-type heterojunction. The first report on COFs in OPVs owed to Prof. T. Bein and Prof. D. Jiang [35][36][37]. Notwithstanding their promising feature the effective application of this compound is limited by solubility issues affecting the processability of the material itself. This is mainly a drawback when COFs are compared to other porous Although both metal/covalent organic frameworks are generally used for gas storage or catalysis, their optoelectronics and energy storage/conversion properties have been recently explored too [19,31,32]. In this work, we review and critically discuss recent advancement in the application of MOFs and COFs as active materials in emerging photovoltaic technology. It is worth to mention that throughout the present review, we mainly focused our attention on the application of MOFs and COFs in two classes of emerging photovoltaic technology, namely DSSCs and PSCs. With respect to OPV, as far as we are aware, just few examples have been reported in literature; therefore, here, we decided specifically to not tackle this aspect. Indeed, the reader is kindly addressed to some recent reviews for the principle of this technology [33,34]. Theoretically, porous polymers are very promising for this technology being mainly composed by two different organic building blocks, which can exhibit donor and acceptor features and can be used n-type and p-type heterojunction. The first report on COFs in OPVs owed to Prof. T. Bein and Prof. D. Jiang [35][36][37]. Notwithstanding their promising feature the effective application of this compound is limited by solubility issues affecting the processability of the material itself. This is mainly a drawback when COFs are compared to other porous organic polymers, such as amorphous conjugated microporous polymers (CMPs) or polymers with intrinsic microporosity (PIMs) (Figure 1), that are highly processable [38]. Our analysis is mainly focused on DSSCs and PSCs. As regards organic photovoltaics (OPV), the third family in emerging photovoltaics, just a couple of examples have been reported in literature so far. Therefore, we decided to not specifically tackle this technology in the present review.
COFs are starting to be implemented as conductive polymers in photovoltaic applications. COFs are generally constituted by two different organic linkers, that could have a ditopic (C2, two active functional groups), tritopic (C3, three active functional groups) or tetratopic (C4, four active functional groups) geometry leading to 2D or 3D materials. Figure S1A shows different monomers that can be employed to obtain 2D COFs: indeed, there are not very strict requirements on the choice of starting material (e.g. from bi-to tetradentate monomers). On the other hand, tetragonal and tetradentate monomers are necessary to obtain 3D structures ( Figure S1B).
COFs are usually synthetized as bulk materials by using boronate esters or imine bond-bridged systems as precursors ( Figure 2) [62]. Yet, the so obtained COFs usually have poor electric conductivity in the z axis being constituted by stacked 2D layers. In this context, the introduction of imine-bridged pattern offers a feasible approach to partially extend the conjugation throughout the different layers. Indeed, whereas in boronate COFs the charge preferentially moves alongside the plane directions, imine-based COFs also allow lateral diffusion throughout the frameworks. Therefore, boronate ester-based COFs could be considered as small molecule-based electronics whereas imine-based COFs are generally described as conjugated conducting polymers [19,63].  Nanostructured systems are usually synthetized by solvothermal method allowing th finely control the morphology and the crystallinity of the materials [64][65][66]. However, this includes the quite harsh experimental conditions (e.g., aggressive solvents, relativ temperature, using sealed vessel…) as synthetic method to produce COFs Straightfo researchers have been attempting to figure out new synthetic routes to obtain COFs: i.e., m and room temperature synthesis (which are mechanochemical and rapid solution-phase a and massive synthesis [67], among others [62]. Prof. Cooper and co-workers attempted first time to use microwave method by synthe COF-5 and COF-102 based on boron linkage [68]. They successfully obtain COFs 200 times f Nanostructured systems are usually synthetized by solvothermal method allowing the latter to finely control the morphology and the crystallinity of the materials [64][65][66]. However, this approach includes the quite harsh experimental conditions (e.g., aggressive solvents, relatively high temperature, Energies 2020, 13, 5602 6 of 48 using sealed vessel . . . ) as synthetic method to produce COFs Straightforwardly, researchers have been attempting to figure out new synthetic routes to obtain COFs: i.e., microwave and room temperature synthesis (which are mechanochemical and rapid solution-phase approach) and massive synthesis [67], among others [62].
Prof. Cooper and co-workers attempted first time to use microwave method by synthesizing of COF-5 and COF-102 based on boron linkage [68]. They successfully obtain COFs 200 times faster (i.e., 20 min reaction) compared to solvothermal method (72 h). Furthermore, mechanochemical synthesis is fast and environmentally friendly allowing to minimize the amount of solvents employed and the energy required throughout the synthetic procedure. COFs based on imine-bond were synthesized through this method by Biswal et al. too [69]. A simple and facile room-temperature solution-phase route for the fabrication of spherical COF-TpBD was carried out by Yan's group [70]. The obtained COFs showed quite good thermal stability and very short synthetic times (i.e., 30 min). On one hand, MW and RT synthesis could be usefully employed in the laboratory scale; on the other hand, massive synthesis method could be easily implemented for industrial production of COFs.

Dye-Sensitized Solar Cells (DSSCs)
Dye-sensitized solar cells (DSSCs) [71,72] are among the more studied photovoltaic devices among hybrid photovoltaic technologies. They were first reported by O'Regan and Grätzel in 1991 [73] and, since then, they drew a lot of attention in the scientific community: the replacement of a thin layer of titanium dioxide with a mesoporous one allowed to enhance the device efficiency up to 7.1% and the latter has reached 11% by sensitizing nanocrystalline TiO 2 semiconductor with Ru-based dye molecules, namely N719 or CYC-B11 [74,75]. Dye-sensitized solar cells were widely exploited due to their low-cost, relatively high solar-to-energy conversion efficiency and easy, cheap and scalable fabrication process. Up to date, the most efficient DSSC has reached 14% using porphyrin sensitizers as reported by Grätzel and co-workers [76].
With respect to the device architecture, there are five main components to constitute a classical DSSC as shown in Figure 3: a transparent conductive oxide (TCO) as substrate [77], a nanostructured n-type or p-type semiconductor as photoanode or photocatode, respectively [78,79], a visible-light absorbing dye chemisorbed onto the semiconductor surface [80], an electrolyte containing a redox mediator [81] and a counter electrode [82]. The working principle of DSSCs is inspired from natural photosynthesis. A thorough analyses of DSSC working principle falls outside the scope of the present review and it has been aplenty discussed in some excellent reviews and it is just briefly recalled hereafter [83,84]: in a working device, sunlight passes through the photoanode and causes the promotion of an electron from the fundamental state to an excited state of the dye. From the latter, the electron is injected into the conduction band of the n-type semiconductor (usually TiO 2 ) and, at the same time, the reduced species in the electrolyte regenerates the fundamental state of the sensitizers. From the conduction band of TiO 2 , the electron flows through an external circuit reaching the counter-electrode where it is used to reduce the oxidized species of the redox mediator thus allowing to close the electronic circuit and produce energy [85].

MOFs in DSSCs
Actually, in classical DSSCs, both MOFs and COFs, due to their chemical versatility, do not have a unique role. Indeed, they could be employed as sensitizer materials [86][87][88][89], electrolyte additives [90] or electrode materials [91][92][93]. In some cases, they have been employed as templates to obtain materials with tailored properties [94][95][96][97]. Hereafter, we report on the different approaches that have been exploited in literature. It is worth mentioning that, in some cases, univocal categorization is unfeasible due to the hybrid nature of the investigated material [1,[98][99][100].
A really unique utilization of MOF was recently proposed by Sarwar et al. [101]; they employed an Al-based MOF as gelling agent in quasi solid-state DSSCs. The optimization of the MOF/electrolyte ratio allowed to modulate the photoelectrochemical response of the devices. The presence of Al 3+ Energies 2020, 13, 5602 7 of 48 cation (albeit embedded in the MOF structure) tune the V OC and mild the electronic recombination, reaching slightly better efficiency compared to classical DSSCs. More remarkably, a good stability was reached: just a 6% drop (after 250 h) was recorded when the devices were stressed at 60 • C.

MOFs in DSSCs
Actually, in classical DSSCs, both MOFs and COFs, due to their chemical versatility, do not have a unique role. Indeed, they could be employed as sensitizer materials [86][87][88][89], electrolyte additives [90] or electrode materials [91][92][93]. In some cases, they have been employed as templates to obtain materials with tailored properties [94][95][96][97]. Hereafter, we report on the different approaches that have been exploited in literature. It is worth mentioning that, in some cases, univocal categorization is unfeasible due to the hybrid nature of the investigated material [1,[98][99][100].
A really unique utilization of MOF was recently proposed by Sarwar et al. [101]; they employed an Al-based MOF as gelling agent in quasi solid-state DSSCs. The optimization of the MOF/electrolyte ratio allowed to modulate the photoelectrochemical response of the devices. The presence of Al 3+ cation (albeit embedded in the MOF structure) tune the VOC and mild the electronic recombination, reaching slightly better efficiency compared to classical DSSCs. More remarkably, a good stability was reached: just a 6% drop (after 250 h) was recorded when the devices were stressed at 60 °C.

MOF as Photoelectrode
Titanium dioxide is the most exploited semiconducting material as photoanode in DSSCs due to its low-cost and extreme stability under solar irradiation. Additionally, being a large band-gap semiconductor (BG = 3.2 eV) [102], it does not adsorb visible light; very interestingly it could be obtained in mesoporous arrays that permit one to load very high amounts of sensitizer. TiO2 is a low cost, widely available, non-toxic and biocompatible material usually employed in health care products or domestic applications [103,104]. Various alternative materials have been explored as photoanodes in DSSCs: as an example, ZnO has a similar conduction band and work function when compared to TiO2 and shows the same time higher carrier mobility [105], but its low stability under solar radiation and in acidic environments as well as the likely formation of aggregates on its surface are important drawbacks [106]. Some other semiconductors have been exploited, e.g., CeO2 [107], WO3 [108], SrTiO3 [109] and Nb2O5 [110] among others, but the photoelectrochemical performance assured by titanium oxide is still unbeaten. With respect to conventional photoelectrodic materials, MOFs have some unique features: indeed, they could simultaneously act as both electrode and sensitizers, being the metallic core directly linked to (chromophore) organic units (see also paragraph 2.1.2). The wide surface area of this class of materials could improve the dye loading as well as tune the charge transfer kinetic at the electrode/electrolyte interface.

MOF as Photoelectrode
Titanium dioxide is the most exploited semiconducting material as photoanode in DSSCs due to its low-cost and extreme stability under solar irradiation. Additionally, being a large band-gap semiconductor (BG = 3.2 eV) [102], it does not adsorb visible light; very interestingly it could be obtained in mesoporous arrays that permit one to load very high amounts of sensitizer. TiO 2 is a low cost, widely available, non-toxic and biocompatible material usually employed in health care products or domestic applications [103,104]. Various alternative materials have been explored as photoanodes in DSSCs: as an example, ZnO has a similar conduction band and work function when compared to TiO 2 and shows the same time higher carrier mobility [105], but its low stability under solar radiation and in acidic environments as well as the likely formation of aggregates on its surface are important drawbacks [106]. Some other semiconductors have been exploited, e.g., CeO 2 [107], WO 3 [108], SrTiO 3 [109] and Nb 2 O 5 [110] among others, but the photoelectrochemical performance assured by titanium oxide is still unbeaten. With respect to conventional photoelectrodic materials, MOFs have some unique features: indeed, they could simultaneously act as both electrode and sensitizers, being the metallic core directly linked to (chromophore) organic units (see also paragraph 2.1.2). The wide surface area of this class of materials could improve the dye loading as well as tune the charge transfer kinetic at the electrode/electrolyte interface.
In photocatalytic applications, semiconductor nanoparticles are generally adopted due to their large band-gap energy allowing absorption in the UV range of the electromagnetic spectrum. However, the sintering procedure required to electronically connect them to each other leads to a remarkable decrease of their surface area, then the dye-loading and light harvesting become lower. To overcome such a limitation, the use of nanostructured, porous matrices could be somehow feasible. Indeed, MOFs are suitable for this role owing to a large surface area (<1000 m 2 /g) as well as a high porosity [111,112]. Indeed, numerous studies have been reported highlighting the promising features of MOFs as photoactive materials. For instance, Li et al. reported for the first time the application of MOFs in DSSCs [93]. They showed that a highly porous MOF known as zeolitic imidazolate framework (ZIF)-8 composed by zinc ions coordinated with four imidazolate ligands, employed as electrode/electrolyte interfacial layer, allowed for improving the dye loading and minimizing the interfacial charge Energies 2020, 13, 5602 8 of 48 recombination due to its electrical insulating property. They synthesize an ultrathin Zn-based MOF (i.e., ZIF-8, Figure 4) that was coated onto a TiO 2 anode through a post-treatment approach [93]. the growth time of the ZIF-8 layer. The best photovoltaic properties were achieved for a growth time of about 7 min, whereas a further increase in ZIF-8 growth time caused a decrease in both the short circuit photocurrent (JSC) and power conversion efficiency (η) [93]. More recently, He et al. reported on the employment of UiO-66 [117] or ZIF-8 in conjunction with reduced graphene oxide (rGO) to modify the photoanode [118]. The Uio-66-RGO/TiO2 and ZIF 8-RGO/TiO2 were prepared by a physical mixture process to produce a slurry that was then deposited by doctor-blade onto FTO glasses. The graphene oxide-MOFs photoanode showed enhanced photovoltaic performance increasing scattering capacity of incident light as well as demonstrating low loss ratio of photogenerated electrons by small dark current and leading to a PCE close to 8%. To further improve the morphological features of TiO2, Chi and co-workers reported the use of MIL-125(Ti) along with poly(ethylene glycol) diglycidyl ether (PEGDGE) [119]. MIL-125(Ti) was used to synthesize mesoporous hierarchical TiO2 (hier-TiO2) photoanodes with a large surface area and a variety of nanostructures depending on the calcination procedure [120]. Simultaneously, the use of The very high specific surface area of MOFs [113][114][115] was proved to almost double the amount of absorbed dye (N719), i.e., from 0.71 × 10 −7 to 1.13 × 10 −7 mol cm −2 (+43%) for the bare and modified photoanode, respectively. Unfortunately, the core/shell structure of the TiO 2 /ZIF-8 electrode heavily hampered the injection of electrons from the sensitizer into the conduction band of TiO 2 by reducing the short circuit current. Very interestingly, the value of V OC linearly correlated with the thickness of ZIF-8 coating layer [116]. They also investigated the variation of photovoltaic performance by varying the growth time of the ZIF-8 layer. The best photovoltaic properties were achieved for a growth time of about 7 min, whereas a further increase in ZIF-8 growth time caused a decrease in both the short circuit photocurrent (J SC ) and power conversion efficiency (η) [93]. More recently, He et al. reported on the employment of UiO-66 [117] or ZIF-8 in conjunction with reduced graphene oxide (rGO) to modify the photoanode [118]. The Uio-66-RGO/TiO 2 and ZIF 8-RGO/TiO 2 were prepared by a physical mixture process to produce a slurry that was then deposited by doctor-blade onto FTO glasses. The graphene oxide-MOFs photoanode showed enhanced photovoltaic performance increasing scattering capacity of incident light as well as demonstrating low loss ratio of photo-generated electrons by small dark current and leading to a PCE close to 8%.
To further improve the morphological features of TiO 2 , Chi and co-workers reported the use of MIL-125(Ti) along with poly(ethylene glycol) diglycidyl ether (PEGDGE) [119]. MIL-125(Ti) was used to synthesize mesoporous hierarchical TiO 2 (hier-TiO 2 ) photoanodes with a large surface area and a variety of nanostructures depending on the calcination procedure [120]. Simultaneously, the use of poly(ethylene glycol) diglycidyl ether (PEGDGE,) lead to the formation of larger particles and resulted in a change in the morphology of the NPs from circular plates to bipyramids. This provides better mechanical stability and faster ion transportation via Grotthus hopping compared to the ones reported by other groups [121,122]. They measured the J-V curves of the DSSCs with different photoanode structures at 1 Sun. According to the photovoltaic parameters, the hier-TiO 2 bilayer photoanodes boosted the solar energy conversion efficiency up to 7%, much higher than that of the nanocrystalline TiO 2 (nc-TiO 2 ) monolayer photoanode (4.6%). They performed durability tests for the cell efficiency, and it was observed there is no efficiency decrease at room temperature up to several days. A similar approach was attempted by Ramasubbu and co-workers [123] who prepared a 3D mesoporous TiO 2 -Ni-MOF composite aerogels via sol-gel method and used as photoanode materials Energies 2020, 13, 5602 9 of 48 for quasi-solid dye-sensitized solar cell (QSDSC). The photoanode was prepared by spin coated method and assembled into complete devices leading to PCE close to 9%, higher than the one obtained with unmodified aerogels (7%), ascribable to increased photocurrent density, reduced charge-transfer resistance and suppressed electron recombination as proved through photocurrent density-applied voltage curves and electrochemical impedance measurements. In Table 1, the most effective MOFs implemented as photoelectrodes in DSSCs are summarized. Table 1. List of MOFs effectively employed as photoelectrodes in DSSC. For sake of brevity, the SBUs of the MOF (i.e., metal and the organic linker) are indicated separately. Note that the reported values of photoconversion efficiency cannot be compared to each other, even though they could shine light on the potentiality of this class of material.

Metals Organic Linkers
Interfacial Layer Zn ZIF-8 better mechanical stability and faster ion transportation via Grotthus hopping compared to the ones reported by other groups [121,122]. They measured the J-V curves of the DSSCs with different photoanode structures at 1 Sun. According to the photovoltaic parameters, the hier-TiO2 bilayer photoanodes boosted the solar energy conversion efficiency up to 7%, much higher than that of the nanocrystalline TiO2 (nc-TiO2) monolayer photoanode (4.6%). They performed durability tests for the cell efficiency, and it was observed there is no efficiency decrease at room temperature up to several days. A similar approach was attempted by Ramasubbu and co-workers [123] who prepared a 3D mesoporous TiO2-Ni-MOF composite aerogels via sol-gel method and used as photoanode materials for quasi-solid dye-sensitized solar cell (QSDSC). The photoanode was prepared by spin coated method and assembled into complete devices leading to PCE close to 9%, higher than the one obtained with unmodified aerogels (7%), ascribable to increased photocurrent density, reduced charge-transfer resistance and suppressed electron recombination as proved through photocurrent density-applied voltage curves and electrochemical impedance measurements. In Table 1, the most effective MOFs implemented as photoelectrodes in DSSCs are summarized. 5.34 [93] Zn photoanode structures at 1 Sun. According to the photovoltaic parameters, the hier-TiO2 bilayer photoanodes boosted the solar energy conversion efficiency up to 7%, much higher than that of the nanocrystalline TiO2 (nc-TiO2) monolayer photoanode (4.6%). They performed durability tests for the cell efficiency, and it was observed there is no efficiency decrease at room temperature up to several days. A similar approach was attempted by Ramasubbu and co-workers [123] who prepared a 3D mesoporous TiO2-Ni-MOF composite aerogels via sol-gel method and used as photoanode materials for quasi-solid dye-sensitized solar cell (QSDSC). The photoanode was prepared by spin coated method and assembled into complete devices leading to PCE close to 9%, higher than the one obtained with unmodified aerogels (7%), ascribable to increased photocurrent density, reduced charge-transfer resistance and suppressed electron recombination as proved through photocurrent density-applied voltage curves and electrochemical impedance measurements. In Table 1, the most effective MOFs implemented as photoelectrodes in DSSCs are summarized. nanocrystalline TiO2 (nc-TiO2) monolayer photoanode (4.6%). They performed durability tests for the cell efficiency, and it was observed there is no efficiency decrease at room temperature up to several days. A similar approach was attempted by Ramasubbu and co-workers [123] who prepared a 3D mesoporous TiO2-Ni-MOF composite aerogels via sol-gel method and used as photoanode materials for quasi-solid dye-sensitized solar cell (QSDSC). The photoanode was prepared by spin coated method and assembled into complete devices leading to PCE close to 9%, higher than the one obtained with unmodified aerogels (7%), ascribable to increased photocurrent density, reduced charge-transfer resistance and suppressed electron recombination as proved through photocurrent density-applied voltage curves and electrochemical impedance measurements. In Table 1, the most effective MOFs implemented as photoelectrodes in DSSCs are summarized. cell efficiency, and it was observed there is no efficiency decrease at room temperature up to several days. A similar approach was attempted by Ramasubbu and co-workers [123] who prepared a 3D mesoporous TiO2-Ni-MOF composite aerogels via sol-gel method and used as photoanode materials for quasi-solid dye-sensitized solar cell (QSDSC). The photoanode was prepared by spin coated method and assembled into complete devices leading to PCE close to 9%, higher than the one obtained with unmodified aerogels (7%), ascribable to increased photocurrent density, reduced charge-transfer resistance and suppressed electron recombination as proved through photocurrent density-applied voltage curves and electrochemical impedance measurements. In Table 1, the most effective MOFs implemented as photoelectrodes in DSSCs are summarized.

MOFs as Sensitizers
In dye-sensitized solar cells, the sensitizer plays a crucial role and its choice is not trivial. In fact, a good dye should fulfil some very strict requirements [129][130][131][132]. First of all, it should possess a very high molar extinction coefficient and a broad absorption in the visible/near infrared (NIR) region of the solar spectrum in order to catch as much radiation as possible. It should also possess one or more anchoring units in order to be firmly bound to the semiconductor surface and to assure a proper matching between the HOMO or LUMO level of the sensitizer with the valence or conduction band of the semiconductor. At this regard, a sensitizer should be properly designed in order to be able, on the one hand, to assure fast and quantitative charge injection into the semiconductor and, on the other hand, to be easily regenerated by the redox mediator [133,134]. Furthermore, a dye should be thermally, photochemically and physically stable once chemisorbed onto the semiconductor surface and it should help to enhance the electrode wettability with respect to the electrolytic solution. Both metal-organic and fully organic sensitizers have been deeply investigated and their properties tuned; yet, they somehow suffer for both thermal and photophysical stability. In this context, MOFs offer a viable alternative due their extremely robustness; additionally, their high ordering (both on medium and long range) could create channels that the electrolyte could soak assuring a very fast regeneration of the excited state of the sensitizer.
Ruthenium-based sensitizers assure a very high photoconversion efficiency, but they partially limit the long-term stability of the device due to the desorption from photoanode surface when in contact with an organic-based electrolyte, i.e., ACN or MPN. Additionally, ruthenium is a quite rare metal and its cost could prevent a large-scale production of DSSCs. Nowadays, organo-metallic sensitizers have been replaced by metal-free dyes keeping relatively high efficiency. These molecules are generally constituted by an electron donor group (e.g., triphenylamine) linked to an acceptor group (e.g., cyanoacrylic acid) [135][136][137] generating an acceptor-π-donor system (A-π-D) with the acceptor moiety close to the electrode surface to assure an effective charge injection. In this respect, MOFs could be used as a sensitizer by using different dye molecules as a building blocks extending the spectral response of the TiO 2 to the visible region.
The light harvesting capacity of MOFs is basically based on the electronical and morphological features of the organic linker. The most common ones are capable of absorbing light only from UV to blue regions. Recently, some novel structures e.g., 2,5-dihydroxyterephthalic acid (H 4 DOBDC) and 2-aminoterephthalic acid (NH 2 -bdc) were synthetized to further extend the absorption over the whole solar spectrum [98,99]. In 2014, Gao et al. reported on the synthesis of an organic linker (i.e., H 4 DOBDC) to build up a p-type MOF (i.e., Ti(IV)-based NTU-9) with visible-light photoresponse capabilities: the latter showed a strong absorption in the visible region (up to 750 nm). To further exploit the absorption spectra Long and co-workers synthesized a MOF in which Zr 6 O 32 units were linked each other with NH 2 -bdc (or 2-aminoterephthalate): UV-vis diffuse reflectance studies revealed that this MOF has an optical bandgap of 2.75 eV (absorption peak centered at 450 nm) [100].
In 2012, Kundu et al. reported, for the first time, on the implementation of a ZnO-based photoanode using MOFs that was not sensitized with any dyes ( Figure 5) [92]. Indeed, MOFs behaved as a real sensitizer. They obtained hexagonal column shaped, rod-shaped or elliptical structures of ZnO as a result of different synthetic environment (i.e., under nitrogen or air) and starting material (ZnCl 2 or ZnBr 2 ). The so-obtain photoanodes were able to effectively absorb visible light between 510 and 605 nm. Nevertheless, the photoconversion efficiency remained very low due to a poor charge transport features of the hybrid electrode. Lee et al. tried to overcome such an issue by an unconventional but very promising approach: they produced a TiO 2 -based DSSC in which a thin layer of copper-based MOF (i.e., copper(II) benzene-1,3,5-tricarboxylate) behaved as a light-absorber [86]. The MOF film was deposited by a layer-by-layer method and further doped with iodine to enhance its conductivity and control charge transfer reactions. I-doped device allow to obtain an overall photoconversion efficiency up to 0.26% (J SC = 1.25 mA·cm −2 , under 1 Sun illumination) that consist in a 40-fold increase compared to the undoped DSSC. This was ascribed to a reduction of the charge transfer resistance as proved by electrochemical impedance spectroscopy (EIS). Ruthenium-based sensitizers assure a very high photoconversion efficiency, but they partially limit the long-term stability of the device due to the desorption from photoanode surface when in contact with an organic-based electrolyte, i.e., ACN or MPN. Additionally, ruthenium is a quite rare metal and its cost could prevent a large-scale production of DSSCs. Nowadays, organo-metallic sensitizers have been replaced by metal-free dyes keeping relatively high efficiency. These molecules are generally constituted by an electron donor group (e.g., triphenylamine) linked to an acceptor group (e.g., cyanoacrylic acid) [135][136][137] generating an acceptor-π-donor system (A-π-D) with the acceptor moiety close to the electrode surface to assure an effective charge injection. In this respect, MOFs could be used as a sensitizer by using different dye molecules as a building blocks extending the spectral response of the TiO2 to the visible region.
The light harvesting capacity of MOFs is basically based on the electronical and morphological features of the organic linker. The most common ones are capable of absorbing light only from UV to blue regions. Recently, some novel structures e.g., 2,5-dihydroxyterephthalic acid (H4DOBDC) and 2-aminoterephthalic acid (NH2-bdc) were synthetized to further extend the absorption over the whole solar spectrum [98,99]. In 2014, Gao et al. reported on the synthesis of an organic linker (i.e., H4DOBDC) to build up a p-type MOF (i.e., Ti(IV)-based NTU-9) with visible-light photoresponse capabilities: the latter showed a strong absorption in the visible region (up to 750 nm). To further exploit the absorption spectra Long and co-workers synthesized a MOF in which Zr6O32 units were linked each other with NH2-bdc (or 2-aminoterephthalate): UV-vis diffuse reflectance studies revealed that this MOF has an optical bandgap of 2.75 eV (absorption peak centered at 450 nm) [100].
In 2012, Kundu et al. reported, for the first time, on the implementation of a ZnO-based photoanode using MOFs that was not sensitized with any dyes ( Figure 5) [92]. Indeed, MOFs behaved as a real sensitizer. They obtained hexagonal column shaped, rod-shaped or elliptical structures of ZnO as a result of different synthetic environment (i.e., under nitrogen or air) and starting material (ZnCl2 or ZnBr2). The so-obtain photoanodes were able to effectively absorb visible light between 510 and 605 nm. Nevertheless, the photoconversion efficiency remained very low due to a poor charge transport features of the hybrid electrode. Lee et al. tried to overcome such an issue by an unconventional but very promising approach: they produced a TiO2-based DSSC in which a thin layer of copper-based MOF (i.e., copper(II) benzene-1,3,5-tricarboxylate) behaved as a light-absorber [86]. The MOF film was deposited by a layer-by-layer method and further doped with iodine to enhance its conductivity and control charge transfer reactions. I-doped device allow to obtain an overall photoconversion efficiency up to 0.26% (JSC = 1.25 mA·cm −2 , under 1 Sun illumination) that consist in a 40-fold increase compared to the undoped DSSC. This was ascribed to a reduction of the charge transfer resistance as proved by electrochemical impedance spectroscopy (EIS).  Lee et al. reported on a TiO 2 -MWCNTs composite photoanode sensitized with a Cu-based MOF (i.e., copper (II) benzene-1,3,5-tricarboxylate) [126]. Since Cu-MOFs have an insulating behavior [86], Energies 2020, 13, 5602 12 of 48 iodine doping was required to enhance the conductivity of the obtained film. Even if the bare TiO 2 -MWCNT composite film did not show any significant light absorption, after sensitization with Cu-MOFs, the composite film presented visible light absorption at around 680 nm [93]. Yet, the so obtained device based on TiO 2 /MOF composite a quite low photoconversion efficiency (nearly 0.3%) that was then boosted up to 0.46% by using a MWCNT nanotubes composited anode. In successive study, the same authors used Ru instead of Cu as metal linker. Both HOMO and LUMO energy levels of the Ru-based MOFs were found to be more appropriate with respect to TiO 2 conduction band ( Figure 6). The latter evidence led to a power conversion efficiency up to 1.22% which is three times higher than the previous Cu-MOF-based device [88]. In a different study, Maza and co-workers employed a Ru-based MOF (namely, Ru(II)L 2 L (L = 2,2 -bipyridyl, L = 2,2 -bipyridine-5,5 -dicarboxylic acid) as sensitizer on a TiO 2 electrode [87]. Lee et al. reported on a TiO2-MWCNTs composite photoanode sensitized with a Cu-based MOF (i.e., copper (II) benzene-1,3,5-tricarboxylate) [126]. Since Cu-MOFs have an insulating behavior [86], iodine doping was required to enhance the conductivity of the obtained film. Even if the bare TiO2-MWCNT composite film did not show any significant light absorption, after sensitization with Cu-MOFs, the composite film presented visible light absorption at around 680 nm [93]. Yet, the so obtained device based on TiO2/MOF composite a quite low photoconversion efficiency (nearly 0.3%) that was then boosted up to 0.46% by using a MWCNT nanotubes composited anode. In successive study, the same authors used Ru instead of Cu as metal linker. Both HOMO and LUMO energy levels of the Ru-based MOFs were found to be more appropriate with respect to TiO2 conduction band ( Figure 6). The latter evidence led to a power conversion efficiency up to 1.22% which is three times higher than the previous Cu-MOF-based device [88]. In a different study, Maza and co-workers employed a Ru-based MOF (namely, Ru(II)L2L′ (L = 2,2′-bipyridyl, L′ = 2,2′-bipyridine-5,5′dicarboxylic acid) as sensitizer on a TiO2 electrode [87]. Porphyrin-based MOFs can produce quite limited photocurrents under visible light (PCE: 0.0026-0.45%) as reported by Wöll [89,138], Allendorf [139] and others [140]. On the other hand, Ru(bpy)3 2+ -based MOFs have slightly better PCE [87]. Their relatively low photoelectrochemical performances could be ascribed to the slow exciton migration and ineffective charge transport properties of 3D porous frameworks [89,138]. Recently, Gordillo et. al. reported on a spontaneous solvothermal growth of (100) oriented PPF-11 [50] films onto a ZnO/FTO electrodes [127]. The so obtained MOF-sensitized photoanodes displayed unpredictable phototoelectrochemical parameters (i.e., JSC = 4.6 mA·cm −2 ; VOC = 476 mV; PCE = 0.86%). These values are 1000 and 300 times greater than conventional devices concerning current density and efficiency, respectively. Some further experiments are still required to clarify such results; the authors claimed better charge separation and faster charge transport/injection features assured by the highly oriented MOF structure.
As known, MOFs could be employed as precursors in the synthesis of MOF/TiO2 composites behaving as both anode and sensitizer [92,125,141,142]. Khajavian and Ghani reported on the application of a polycrystalline and highly oriented copper-based MOF [i.e., Cu2(bdc)2(bpy)]n thin films onto mesoporous titania surface [128]. The MOF was synthesized by a layer-by-layer approach and it is possible to regulate shape evolution of MOF crystals within the films using acetic acid and pyridine as capping agents added to metal solution. Indeed, the former could drive the growth and the orientation of MOF crystal whereas the latter allows to obtain leaf-structured crystals. Even if this approach is very interesting thanks to its cheapness and scalability, the implementation of MOF/TiO2 composite in a DSSC led to very poor photoconversion efficiency (lower than 0.1%) mainly because Porphyrin-based MOFs can produce quite limited photocurrents under visible light (PCE: 0.0026-0.45%) as reported by Wöll [89,138], Allendorf [139] and others [140]. On the other hand, Ru(bpy) 3 2+ -based MOFs have slightly better PCE [87]. Their relatively low photoelectrochemical performances could be ascribed to the slow exciton migration and ineffective charge transport properties of 3D porous frameworks [89,138]. Recently, Gordillo et. al. reported on a spontaneous solvothermal growth of (100) oriented PPF-11 [50] films onto a ZnO/FTO electrodes [127]. The so obtained MOF-sensitized photoanodes displayed unpredictable phototoelectrochemical parameters (i.e., J SC = 4.6 mA·cm −2 ; V OC = 476 mV; PCE = 0.86%). These values are 1000 and 300 times greater than conventional devices concerning current density and efficiency, respectively. Some further experiments are still required to clarify such results; the authors claimed better charge separation and faster charge transport/injection features assured by the highly oriented MOF structure. As known, MOFs could be employed as precursors in the synthesis of MOF/TiO 2 composites behaving as both anode and sensitizer [92,125,141,142]. Khajavian and Ghani reported on the application of a polycrystalline and highly oriented copper-based MOF [i.e., Cu 2 (bdc) 2 (bpy)] n thin films onto mesoporous titania surface [128]. The MOF was synthesized by a layer-by-layer approach and it is possible to regulate shape evolution of MOF crystals within the films using acetic acid and pyridine as capping agents added to metal solution. Indeed, the former could drive the growth and the orientation of MOF crystal whereas the latter allows to obtain leaf-structured crystals. Even if this approach is very interesting thanks to its cheapness and scalability, the implementation of MOF/TiO 2 composite in a DSSC led to very poor photoconversion efficiency (lower than 0.1%) mainly because of the thinness of deposited layer (lower than 100 nm), giving insufficient light absorption, and the not-optimized MOF/TiO 2 interface. Nevertheless, a further engineering of the deposition method could lead to improved photoconversion features.

of 48
As already evidenced in the previous section, metal-organic frameworks are complex molecules with highly tunable properties. This tunability could be largely exploited in order to design molecules with tailored features. In this context, Du et al. investigated the effect of different ions, i.e., K(I) and In(III), during the growth process of a single crystal heterometal-organic framework as sensitizer in DSSCs [143]. The two MOF were named [In 0.5 K(3-qlc)Cl 1.5 (H 2 O) 0.5 ] 2n and [InK(ox) 2 -(H 2 O) 4 ] n (with 3-Hqlc = quinoline-3-carboxylic acid; H 2 ox = oxalic acid). The so-obtained MOFs were then implemented in a (co)sensitized DSSC (along with a classical dye like N719) in order to extend the absorption region within the ultraviolet and blue-violet region of the solar cells. Indeed, the energetic matching between the energy states of MOF and TiO 2 allows to extend the photoelectrochemical response of the device below 350 nm. By means of that, a photoconversion efficiency higher than 8% was achieved. Additionally, the investigated MOFs exhibit tunable luminescence (from blue to yellow to white) as a function of temperature. These very interesting features could open the doors to the application of MOF in different fields, e.g., light emitting electrochemical cells/diodes, LEEC [144] or LED [145], respectively [146].
Even if MOFs have been proved to be effective photosensitizer material, the specific role and potential effect of unreacted MOF precursor (considering the in-situ growth of the material) on both device performance and stability has not been explicated so far. In order to clarify this point, Spoerke and co-workers isolated MOF crystals to be anchored as a photosensitizer onto the photoanode surface [139]. More in details, they synthesized the pillared porphyrin framework (PPF) MOF (Zn-based) through solvothermal method (heated in a closed vessel at 80 • C for 72 h) from a solution of Zinc(II) meso-tetrakis(4-carboxyphenyl)porphyrin (Zn-TCPP), Zn(NO 3 ) 2 ·4H 2 O, and 4,4 -bipyridine in di-ethyl-formamide (DEF) and ethanol. To rule out the effect of the eventual presence of unreacted precursor in the sensitization solution, they prepared MOF crystals with and without a known excess of linker. The obtained MOFs were implemented as sole sensitizer in complete TiO 2 -based DSSC and efficiency was obtained as a 0.0023 (±0.0003) with PPF-MOF-sensitized solar cell, 0.0011 ± 0.0002 for unsensitized TiO 2 .
It is worth mentioning that, up to now, MOFs (in the sensitizer role) have been mainly employed in liquid-junction DSSC. Ahn et. al. reported on, for the first time, MOF-sensitized based solid-state photovoltaic cell [147]. More in details, conductive cobalt-based MOFs (Co-DAPV) consisting of Co (II) ions and a redox active di(3-diaminopropyl)-viologen (i.e., DAPV) ligand were investigated. This MOF was proved to effectively match the energetic level of TiO 2 leading to a power conversion efficiency of the solid junction solar cell was measured up to 2% which is higher than the homologous liquid-junction counterparts, opening the doors to further investigation on this topic ( Figure 7). In a classical DSSCs, the role of the sensitizer is played by an organic or metallorganic molecular dye. Yet, a different approach has been recently exploited consisting in the employment of inorganic quantum dots (QDs) as effective sensitizer in DSSCs [12,148]. Indeed, QDs offered various advantages such as multiple exciton creation, surface effect, quantum size effect, and tunnelling effect that could be hardly reached by using a molecular dye [148][149][150]. Additionally, they are much more  In a classical DSSCs, the role of the sensitizer is played by an organic or metallorganic molecular dye. Yet, a different approach has been recently exploited consisting in the employment of inorganic quantum dots (QDs) as effective sensitizer in DSSCs [12,148]. Indeed, QDs offered various advantages such as multiple exciton creation, surface effect, quantum size effect, and tunnelling effect that could be hardly reached by using a molecular dye [148][149][150]. Additionally, they are much more stable considering their intrinsic inorganic nature. Nevertheless, once implemented in complete device (i.e., QD-sensitized solar cells, QDSSCs) this material assured lower photoconversion efficiency because they possess relatively low molar extinction coefficient and a quite sharp absorption spectrum; furthermore, the presence of surface states that behaves as trap states partially prevent an effective charge injection [150] and they could be hardly anchored onto mesoporous TiO 2 leading to an inhomogeneous covering of the electrode surface [151]. In this context, MOFs could be advantageously employed to improve the light harvesting efficiency as a consequence of the energy transfer from QDs to MOFs. Jin, and co-workers reported on the synthesis of a porphyrin-based MOF functionalized with CdSe/ZnS core/shell quantum dots (QDs) and its implementation in complete device [152]. The broad absorption band of the QDs in the visible region suggested excellent coverage of the solar spectrum via QD−MOF hybrid structures. Indeed, QD-MOF hybrids allowed to harvest photons even at wavelengths in which the MOF has a low or no absorption. They were able to obtain very high quantum efficiencies (up to 84%) by altering size of the QDs. Quite recently, Kaur et al. employed an europium-based MOF as a co-sensitizer in quantum dot DSSC (QD-DSSCs) [153]. In details, Eu-MOF acted as a supporting layer for CdTe QDs. Remarkably, the implementation of CdTe@Eu-MOF sensitizer in complete device led to a significant decrease in charge recombination allowing to obtain an 80% photoconversion efficiency compared to device not embodying Eu-MOF (i.e., 3.0% vs. 1.7%, respectively). The same authors replaced the Eu-based MOF with a Ti-based one (namely NTU-9) that allowed to obtain a more broadened absorption spectra leading to quite good results [154]. Even if they recorded very high photocurrent density (up to 23 mA·cm −2 ), the devices suffer for very low FF, lower than 30%. Therefore, before further exploiting these materials as sensitizers in QD-DSSCs, an optimization of the anode/sensitizer/electrolyte interface is required. In Table 2, the most effective MOFs implemented as sensitizers in DSSCs are summarized.
Metal-organic frameworks could also be employed to synthesize composite material as photoanodes for DSSCs. In a recent study, sol-gel synthesis of TiO 2 aerogel-MOF (i.e., a Zn-based MOF, namely Zn(N-(4-pyridylmethyl)-L-valine·HCl)(Cl)](H 2 O) 2 ) nanocomposite have been used as photoanodic materials in quasi-solid dye-sensitized solar cells (QSDSSC) [124]. Thanks to their high surface area, MOF could be effectively employed to load dye molecules. Even if the dye-loading is higher compared to TiO 2 electrode. once implemented in a QSDSSC, the MOF-modified electrode showed a photoconversion efficiency up to 2.34% that is lower compared to classical photoanode (i.e., 3.0%) because of a quite inefficient collection charge efficiency; indeed, the presence of MOF leads to slower photoinjected charge diffusion throughout the photoanode because Zn anions could behave as trap states. A new approach, proposed by Li and co-workers [125], consists in using MOFs as a scattering layer in ZnO-based DSSCs. Hierarchical ZnO parallelepipeds were produced using MOF-5 precursor. It was noted that the implementation of such a scattering layer improved the cell efficiency from 3.15% to a 3.67%. Table 2. MOFs effectively employed as sensitizers in DSSC. For sake of brevity, we prefer to report the metal and the organic linker separately. The reported values of photoconversion efficiency could not be compared between each-others, yet they could shine light on the potentiality of this class of material.

Metals
Organic Linker(s)   MOFs effectively employed as sensitizers in DSSC. For sake of brevity, we prefer to report the metal and the organic linker separately. The reported values of photoconversion efficiency could not be compared between each-others, yet they could shine light on the potentiality of this class of material.

Counter-Electrode CE
Besides photoanode and sensitizers, the counterelectrode (CE) plays a crucial role in a DSSC because it should quantitively regenerate the redox mediator avoiding any current loss at the CE/electrolyte interface. To behave properly, a CE should assure a wide surface area, a good contact with the electrolytic solution and a fast kinetic of the charge transfer reactions. To perform this role, scientists mainly focused their attention on platinum. Indeed, platinum, in the form of thin layer, is an extraordinary catalytic compound in DSSCs [155,156] to regenerate the redox mediator at the CE. On the other hand, Pt is a noble metal, very rare on Earth and relatively expensive (considering large-scale production). Therefore, in order to reduce the costs of CEs, some studies reported on the synthesis and the implementation of Pt-free counter-electrodes. These include graphene [157], carbon nanotubes [158], metallic PEDOT [159] and transition metal sulphides [160]. The more promising class of alternative materials is represented by metal sulphides, due to its low production cost, great availability, high stability and durability [160][161][162].
In this context, cobalt sulphide (CoS) is one of the most exploited materials both in n [160] and p-DSSCs [163]. For example, Grätzel electrochemically deposited CoS counter-electrodes obtaining a photoconversion efficiency up to 6.5%. Starting from this, Hui Hsu and co-workers obtained the highest power conversion efficiency ever reported for CoS-CEs (i.e., nearly 8.1%) by preparing CoS nanoparticles via a surfactant-assisted synthesis in which ZIF-67 (a cobalt-based MOF, namely Co(mim) 2 , mim = 2-methylimidolate) was used as template. The relatively high efficiency is consistent with an increase in both V OC and FF values. This proved that the reported synthetic method could be considered as a promising approach [164]. ZIF-67 is a common type of MOF constituted by cobalt metal linked with four nitrogen atoms (Co-N4) to tetrahedral frameworks [165]. A similar approach was employed by Liu and co-workers to obtain MoS 2 @Co 3 S 4 composites employing ZIF-67 as both template and cobalt source [95]. The composites showed promising synergistic effect on the catalysis of triiodide reduction. Dye-sensitized solar cells fabricated with MoS 2 @Co 3 S 4 reached a PCE of 7.86%, slightly higher than the Pt-based counterpart. This composite material is a promising candidate as an efficient and low-cost counter electrode material.
Selenization or sulfurization process of ZIF-67 could be a feasible approach to produce Co-based selenide (sulphide)/N-doped carbonaceous hybrid material. Wang and co-workers synthesized CoSe 2 /NC and CoS 2 /NC (NC; N-doped carbon) electrocatalytic film as counter-electrode in DSSCs [166]. These composites were proved to assure huge catalytic activity and high conductivity and a PCE of 9% was achieved. Interestingly, CoSe 2 /NC were more effective than both Pt-based and CoS 2 /NC-based CEs (8% and 8.7%, respectively). It is worth mentioning that this work opens the doors to the use of selenium-based materials in place of the more exploited sulphur-based counterparts ( Figure 8). More recently, Wu et al. reported CoSe 2 -D as effective MOF-derived CEs [96]. They synthesized the MOF precursor directly on FTO glass via electrodeposition followed by a solvothermal process and then in-situ selenized. The so-obtained film is characterized by a porous structure leading to an easier diffusion of iodine-based redox couple and, straightforwardly, to very promising PCE (close to 7%).
Energies 2020, 13, 5602 17 of 48 slightly higher than the Pt-based counterpart. This composite material is a promising candidate as an efficient and low-cost counter electrode material. Selenization or sulfurization process of ZIF-67 could be a feasible approach to produce Co-based selenide (sulphide)/N-doped carbonaceous hybrid material. Wang and co-workers synthesized CoSe2/NC and CoS2/NC (NC; N-doped carbon) electrocatalytic film as counter-electrode in DSSCs [166]. These composites were proved to assure huge catalytic activity and high conductivity and a PCE of 9% was achieved. Interestingly, CoSe2/NC were more effective than both Pt-based and CoS2/NC-based CEs (8% and 8.7%, respectively). It is worth mentioning that this work opens the doors to the use of selenium-based materials in place of the more exploited sulphur-based counterparts (Figure 8). More recently, Wu et al. reported CoSe2-D as effective MOF-derived CEs [96]. They synthesized the MOF precursor directly on FTO glass via electrodeposition followed by a solvothermal process and then in-situ selenized. The soobtained film is characterized by a porous structure leading to an easier diffusion of iodine-based redox couple and, straightforwardly, to very promising PCE (close to 7%).
It is worth mentioning that MOFs could also be very useful during the preparation step if not directly embodied in a cell component. A new class of MOF is the so-called surface-anchored metal-organic framework thin film (SURMOF). They have received substantial attentions in electrical application, and they showed enhanced catalytic activity and higher electrical conductivity compared to classical MOFs when employed as CEs in DSSCs. Very recently, Ou et al. present a facile method to prepare CoS@Ndoped carbon-based counterelectrode starting from a cobalt-based MOF (namely. PIZA-1) [167]. Briefly, the partial sulfurization of the MOF lead to a transparent thin film that acted as cathodic material in a conventional DSSC (Figure 9). They observed that CoS@N-doped carbon film assured extremely good catalytic performances toward the reduction of triiodide as a result of a synergetic activity of homogeneous CoS nanoparticles, strong adhesion onto glass substrate and low resistance at the interface with FTO layer. These features result in a photoconversion efficiency of 9.11% (compared to 8.04% with convention Pt-based CEs). Tian et al. also presented Pt-doped metal−porphyrin framework thin films for efficient bifacial dye-sensitized solar cells [168]. The transparent 2D MOF Zn-TCPP thin film was obtained on FTO glass using the van der Waals liquid-phase epitaxial growth approach. The obtained highly Ptdispersed Zn-TCPP (Zn-TCPP-Pt) thin film for CE in DSSCs showed similar catalytic activity compared to conventional Pt-based CEs but a better light transmission capacity. Power conversion efficiencies of the Zn-TCPP-Pt thin film CE was measured 5.48 and 4.88% under front-side and rear-side irradiation, respectively. To overcome the poor conductivity and short chemical stability of CoS2, Cui et al. [169] exploited a groundbreaking approach: they loaded CoS2 into carbon nanocages using ZIF-67 as surfactant. They tested different treatment times and after 4 h they obtained the highest photovoltaic conversion efficiency (PCE) of 8.20%, higher than those of DSSCs made up of other CoS2 CEs and Pt-based DSSC (7.88%). Zhong and co-workers applied the same concept to quantum dot DSSCs (QD-DSSCs [170]: indeed, they grew crystalline ZIF-67 framework by using layered double hydroxides (LDHs) as scaffold and Co, N co-doped porous carbon materials as active material. The latter showed a very good electrocatalytic activity in the reduction of plysulphide-based electrolyte leading to a PCE higher than 13.5% (JSC = 25.93 mA/cm 2 , VOC = 0.778 V, FF = 0.672).  It is worth mentioning that MOFs could also be very useful during the preparation step if not directly embodied in a cell component. A new class of MOF is the so-called surface-anchored metal-organic framework thin film (SURMOF). They have received substantial attentions in electrical application, and they showed enhanced catalytic activity and higher electrical conductivity compared to classical MOFs when employed as CEs in DSSCs. Very recently, Ou et al. present a facile method to prepare CoS@N-doped carbon-based counterelectrode starting from a cobalt-based MOF (namely. PIZA-1) [167]. Briefly, the partial sulfurization of the MOF lead to a transparent thin film that acted as cathodic material in a conventional DSSC (Figure 9). They observed that CoS@N-doped carbon film assured extremely good catalytic performances toward the reduction of triiodide as a result of a synergetic activity of homogeneous CoS nanoparticles, strong adhesion onto glass substrate and low resistance at the interface with FTO layer. These features result in a photoconversion efficiency of 9.11% (compared to 8.04% with convention Pt-based CEs). Tian et al. also presented Pt-doped metal−porphyrin framework thin films for efficient bifacial dye-sensitized solar cells [168]. The transparent 2D MOF Zn-TCPP thin film was obtained on FTO glass using the van der Waals liquid-phase epitaxial growth approach. The obtained highly Pt-dispersed Zn-TCPP (Zn-TCPP-Pt) thin film for CE in DSSCs showed similar catalytic activity compared to conventional Pt-based CEs but a better light transmission capacity. Power conversion efficiencies of the Zn-TCPP-Pt thin film CE was measured 5.48 and 4.88% under front-side and rear-side irradiation, respectively. To overcome the poor conductivity and short chemical stability of CoS 2 , Cui et al. [169] exploited a groundbreaking approach: they loaded CoS 2 into carbon nanocages using ZIF-67 as surfactant. They tested different treatment times and after 4 h they obtained the highest photovoltaic conversion efficiency (PCE) of 8.20%, higher than those of DSSCs made up of other CoS2 CEs and Pt-based DSSC (7.88%). Zhong and co-workers applied the same concept to quantum dot DSSCs (QD-DSSCs [170]: indeed, they grew crystalline ZIF-67 framework by using layered double hydroxides (LDHs) as scaffold and Co, N co-doped porous carbon materials as active material. The latter showed a very good electrocatalytic activity in the reduction of plysulphide-based electrolyte leading to a PCE higher than 13.5% (J SC = 25.93 mA/cm 2 , V OC = 0.778 V, FF = 0.672).
Energies 2020, 13, 5602 18 of 48 By employing a similar approach, Li and co-workers reported on the employment of MOFderived Co,N-bidoped carbons as effective CEs in quantum dot DSSCs (QD-DSSCs) [171]. A bimetallic (i.e., Zn and Co) zeolite-type MOF were pyrolyzed to obtain the desired doped material showing a homogeneous di dispersion of the doping atom in the carbon matrix. Additionally, this method assured to obtain large surface area and good electronic properties leading to an overall photoconversion efficiency up to 9% (i.e., 9.12%, VOC = 0.635 V, JSC = 26.2 mA·cm −2 , FF = 0.55). ZIF-8 assured high photocatalytic performance due to its microporous structure a surface and wide surface area. Yet, micropores could lead to substantial limitation in mass transfer, especially when bulky redox mediators (e.g., Co or Cu complexes) are employed. To overcome such a problem, Kang et al. modulated the dwelling time of Zn in ZIF-8 [172]. The longer dwelling time lead to the formation of a mesoporous structure without sensibly influence the active area. Photoconversion efficiency up to 9% was reached when these CEs were implemented in complete device with a I − /I3 − redox mediator. This evidence proves that also the photocatalytic activity toward triiodide was improved going from micro to mesoporous electrodes. It is worth mentioning that a serious issue to be solved to enhance the photoconversion efficiency of QDSSCs concerns the development of an electrocatalysts with more active sites, high conductivity and good photoelectrochemical and thermal stability. Very recently, Wang et al. reported on the implementation of copper NPs@carbon nanorod (Cu@CNR) composites synthetized by direct pyrolysis of HKUST-1 (copper-based MOF) [173]. Cu@CNR showed high catalytic activity towards polysulfide reduction. This approach allows to obtain a large amount of CuxS active sites whose charge transfer ability is enhanced by the presence of CNRs as supporting material leading to an overall photoconversion efficiency close to 10%. In Table 3, the most effective MOFs implemented as counter-electrodes in DSSCs are summarized. Table 3. MOFs effectively employed as counter-electrodes in DSSC. For sake of brevity, we prefer to report the metal and the organic linker separately. The reported values of photoconversion efficiency could not be compared between each-others, yet they could shine light on the potentiality of this class By employing a similar approach, Li and co-workers reported on the employment of MOF-derived Co,N-bidoped carbons as effective CEs in quantum dot DSSCs (QD-DSSCs) [171]. A bimetallic (i.e., Zn and Co) zeolite-type MOF were pyrolyzed to obtain the desired doped material showing a homogeneous di dispersion of the doping atom in the carbon matrix. Additionally, this method assured to obtain large surface area and good electronic properties leading to an overall photoconversion efficiency up to 9% (i.e., 9.12%, V OC = 0.635 V, J SC = 26.2 mA·cm −2 , FF = 0.55). ZIF-8 assured high photocatalytic performance due to its microporous structure a surface and wide surface area. Yet, micropores could lead to substantial limitation in mass transfer, especially when bulky redox mediators (e.g., Co or Cu complexes) are employed. To overcome such a problem, Kang et al. modulated the dwelling time of Zn in ZIF-8 [172]. The longer dwelling time lead to the formation of a mesoporous structure without sensibly influence the active area. Photoconversion efficiency up to 9% was reached when these CEs were implemented in complete device with a I − /I 3 − redox mediator.
This evidence proves that also the photocatalytic activity toward triiodide was improved going from micro to mesoporous electrodes. It is worth mentioning that a serious issue to be solved to enhance the photoconversion efficiency of QDSSCs concerns the development of an electrocatalysts with more active sites, high conductivity and good photoelectrochemical and thermal stability. Very recently, Wang et al. reported on the implementation of copper NPs@carbon nanorod (Cu@CNR) composites synthetized by direct pyrolysis of HKUST-1 (copper-based MOF) [173]. Cu@CNR showed high catalytic activity towards polysulfide reduction. This approach allows to obtain a large amount of Cu x S active sites whose charge transfer ability is enhanced by the presence of CNRs as supporting material leading to an overall photoconversion efficiency close to 10%. In Table 3, the most effective MOFs implemented as counter-electrodes in DSSCs are summarized. Table 3. MOFs effectively employed as counter-electrodes in DSSC. For sake of brevity, we prefer to report the metal and the organic linker separately. The reported values of photoconversion efficiency could not be compared between each-others, yet they could shine light on the potentiality of this class of material.

Metals Organic Linkers
Co

PISA-1
Energies 2020, 13, 5602 19 of 49 Table 3. MOFs effectively employed as counter-electrodes in DSSC. For sake of brevity, we prefer to report the metal and the organic linker separately. The reported values of photoconversion efficiency could not be compared between each-others, yet they could shine light on the potentiality of this class of material.  Table 3. MOFs effectively employed as counter-electrodes in DSSC. For sake of brevity, we prefer to report the metal and the organic linker separately. The reported values of photoconversion efficiency could not be compared between each-others, yet they could shine light on the potentiality of this class of material.  Table 3. MOFs effectively employed as counter-electrodes in DSSC. For sake of brevity, we prefer to report the metal and the organic linker separately. The reported values of photoconversion efficiency could not be compared between each-others, yet they could shine light on the potentiality of this class of material. could not be compared between each-others, yet they could shine light on the potentiality of this class of material.  Usually, MOFs-derived materials are obtained by direct carbonization/sulfurization methods; indeed, the so-synthetized nanoparticles tend to agglomerate and collapse. This might cause the decrease of the effective surface area and the growth of a physical barrier for the electrolyte diffusion [177]. Porous 1D nanomaterials are known as one of the most promising electrocatalytic materials in energy-related applications [178,179]. Unfortunately, synthesis of 1D structure materials starting from individual MOFs is very challenging due to fast nucleation and growth assured by the presence of the MOF typical porous structure. Straightforwardly, scientists' attention was focused on 2D structures, such as nanotubes (NTs). Very recently, metal selenides have been employed as CE materials in place of the more exploited sulphides. Li et. al. optimized a facile synthetic approach to obtain hierarchical hollow CoSe nanoparticles embodied into nitrogen-doped porous carbon anchored onto nitrogen-doped carbon nanotubes (CoSe@NPC/NCNTs) as CE material in DSSCs [180]. They used a cobalt-containing MOF, i.e., ZIF-67, and polypyrrole (PPy) as template and nitrogen source, respectively, to obtain the ZIF nanocrystals growing along the surfaces of PPy to constitute core-shell nanotubes. The tubular structure and the wide surface area of these material boosted the electron transfer and improved charge mobility throughout the NT leading to good photoconversion efficiency (h = 7.6% compared to 7.3% with Pt-based CEs).

MOFs
It is worth mentioning that MOFs could be directly used as counter-electrode in place of Pt because they could somehow play the role of electrocatalyst toward the reduction of triiodide. In a pivotal work, Chen et al. reported on the synthesis of a carbon cloth/MOF (i.e., sulfonated poly(thiophene-3-[2-(2-methoxyethoxy)ethoxy]-2,5-diyl) (s-PT), MOF-525/s-PT) composite film deposited on a flexible substrate [175]. They proved that, on the one hand, carbon fibres in CE supported electron transfer behaving as a conductive core, whereas, on the other hand, MOF-525/s-PT acts as the effective catalyst for the reduction of I3 − . The investigated MOF-525/s-PT composite 9 Usually, MOFs-derived materials are obtained by direct carbonization/sulfurization methods; indeed, the so-synthetized nanoparticles tend to agglomerate and collapse. This might cause the decrease of the effective surface area and the growth of a physical barrier for the electrolyte diffusion [177]. Porous 1D nanomaterials are known as one of the most promising electrocatalytic materials in energy-related applications [178,179]. Unfortunately, synthesis of 1D structure materials starting from individual MOFs is very challenging due to fast nucleation and growth assured by the presence of the MOF typical porous structure. Straightforwardly, scientists' attention was focused on 2D structures, such as nanotubes (NTs). Very recently, metal selenides have been employed as CE materials in place of the more exploited sulphides. Li et. al. optimized a facile synthetic approach to obtain hierarchical hollow CoSe nanoparticles embodied into nitrogen-doped porous carbon anchored onto nitrogen-doped carbon nanotubes (CoSe@NPC/NCNTs) as CE material in DSSCs [180]. They used a cobalt-containing MOF, i.e., ZIF-67, and polypyrrole (PPy) as template and nitrogen source, respectively, to obtain the ZIF nanocrystals growing along the surfaces of PPy to constitute core-shell nanotubes. The tubular structure and the wide surface area of these material boosted the electron transfer and improved charge mobility throughout the NT leading to good photoconversion efficiency (h = 7.6% compared to 7.3% with Pt-based CEs).
It is worth mentioning that MOFs could be directly used as counter-electrode in place of Pt because they could somehow play the role of electrocatalyst toward the reduction of triiodide. In a pivotal work, Chen et al. reported on the synthesis of a carbon cloth/MOF (i.e., sulfonated poly(thiophene-3-[2-(2-methoxyethoxy)ethoxy]-2,5-diyl) (s-PT), MOF-525/s-PT) composite film deposited on a flexible substrate [175]. They proved that, on the one hand, carbon fibres in CE supported electron transfer behaving as a conductive core, whereas, on the other hand, MOF-525/s-PT acts as the effective catalyst for the reduction of I3 − . The investigated MOF-525/s-PT composite 9.30 [176] Usually, MOFs-derived materials are obtained by direct carbonization/sulfurization methods; indeed, the so-synthetized nanoparticles tend to agglomerate and collapse. This might cause the decrease of the effective surface area and the growth of a physical barrier for the electrolyte diffusion [177]. Porous 1D nanomaterials are known as one of the most promising electrocatalytic materials in energy-related applications [178,179]. Unfortunately, synthesis of 1D structure materials starting from individual MOFs is very challenging due to fast nucleation and growth assured by the presence of the MOF typical porous structure. Straightforwardly, scientists' attention was focused on 2D structures, such as nanotubes (NTs). Very recently, metal selenides have been employed as CE materials in place of the more exploited sulphides. Li et. al. optimized a facile synthetic approach to obtain hierarchical hollow CoSe nanoparticles embodied into nitrogen-doped porous carbon anchored onto nitrogen-doped carbon nanotubes (CoSe@NPC/NCNTs) as CE material in DSSCs [180]. They used a cobalt-containing MOF, i.e., ZIF-67, and polypyrrole (PPy) as template and nitrogen source, respectively, to obtain the ZIF nanocrystals growing along the surfaces of PPy to constitute core-shell nanotubes. The tubular structure and the wide surface area of these material boosted the electron transfer and improved charge mobility throughout the NT leading to good photoconversion efficiency (h = 7.6% compared to 7.3% with Pt-based CEs).
It is worth mentioning that MOFs could be directly used as counter-electrode in place of Pt because they could somehow play the role of electrocatalyst toward the reduction of triiodide. In a pivotal work, Chen et al. reported on the synthesis of a carbon cloth/MOF (i.e., sulfonated poly(thiophene-3-[2-(2-methoxyethoxy)ethoxy]-2,5-diyl) (s-PT), MOF-525/s-PT) composite film deposited on a flexible substrate [175]. They proved that, on the one hand, carbon fibres in CE supported electron transfer behaving as a conductive core, whereas, on the other hand, MOF-525/s-PT acts as the effective catalyst for the reduction of I 3 − . The investigated MOF-525/s-PT composite counter electrode allowed to obtain an amazing cell efficiency, as high as 9.75% that is higher than traditional Pt-based CE (8.21%). Very interestingly, Liu and co-workers employed bimetallic (i.e., nickel and cobalt) MOFs as counter-electrode ( Figure 10) [176]. More in details, if compared to the one obtained with conventional Pt-CEs. The above-mentioned results should be considered just as a starting point, yet they proved that MOF (or at least MOF supported on carbonaceous or plastic material) could be seriously investigated as an effective low-cost and feasible alternative to platinum as counter-electrodes in DSSC.

Covalent Organic Frameworks (COFs) in DSSCs
Differently from MOFs, just few examples have been reported concerning the implementation of covalent organic frameworks in photovoltaic devices. Most of the published studies concern the investigation of their photoelectrochemical properties, nevertheless, we decide to tackle the latter being an interesting starting point for further optimization.

COFs as Photoactive Materials
Jiang et al. reported, for the first time, the synthesis of a photoconductive COF (i.e., PPy-based COF) obtained by self-condensation of pyrene diboronic acid to constitute a boroxine-linked COF [180]. This was obtained as micrometric cubic crystals. They measured the photoconductivity of PPy-COF by evaporating a thin film onto an Al electrode and then covered the COF with an Au layer. If irradiated with a xenon lamp (in the visible region) the COF-modified Al-electrode showed a linear I-V response. Additionally, the on-off ratio was not modified even after multiple switching procedures. As already evidenced in the MOF section, the most appealing feature to further develop covalent organic frameworks in DSSCs is the higher stability assured with respect to conventional dyes as well as the opportunity to tune both their photo-and electrochemical properties.
Another photoactive COF was presented by Ding and co-workers: they synthesized COF using Ni-phthalocyanine through condensation reaction with 1,4-benzenediboronic acid (BDBA) [181]. This COF, implemented in an electrode, exhibits a photocurrent of 3 μA when irradiated with a xenon lamp. In a subsequent study, the same authors discovered that pthalocyanine-based n-channel 2D-NiPc-BTDA COFs allowed a faster transport of electrons due to the AA-type stacking. Additionally, the latter absorbs light over a wide range of wavelengths up to 1000 nm [182]. In place of phthalocyanine COFs, porphyrin-based ones were made by condensation reaction with benzene diboronic acid (DBA) to obtain photoactive COFs with different electron and hole mobility following on from the nature of the metal in the porphryin building block [183].
There are various examples of conductive and photoactive COFs. Nevertheless, their assemblage into complete devices is very challenging due to their insolubility being hardly coated (homogeneously) onto the surface of electrodes or conductive substrates. Following on from this evidence, a feasible approach to avoid the above-mentioned issues, is to directly grow the COF onto the electrode surface. Indeed, Dichtel and co-workers were able to grow oriented COF thin films by using 1,4-phenylenebis(boronic acid) (PBBA) with 2,3,6,7,10,11-hexahydroxytriphenylene (HHTP)

Covalent Organic Frameworks (COFs) in DSSCs
Differently from MOFs, just few examples have been reported concerning the implementation of covalent organic frameworks in photovoltaic devices. Most of the published studies concern the investigation of their photoelectrochemical properties, nevertheless, we decide to tackle the latter being an interesting starting point for further optimization.

COFs as Photoactive Materials
Jiang et al. reported, for the first time, the synthesis of a photoconductive COF (i.e., PPy-based COF) obtained by self-condensation of pyrene diboronic acid to constitute a boroxine-linked COF [180]. This was obtained as micrometric cubic crystals. They measured the photoconductivity of PPy-COF by evaporating a thin film onto an Al electrode and then covered the COF with an Au layer. If irradiated with a xenon lamp (in the visible region) the COF-modified Al-electrode showed a linear I-V response. Additionally, the on-off ratio was not modified even after multiple switching procedures. As already evidenced in the MOF section, the most appealing feature to further develop covalent organic frameworks in DSSCs is the higher stability assured with respect to conventional dyes as well as the opportunity to tune both their photo-and electrochemical properties.
Another photoactive COF was presented by Ding and co-workers: they synthesized COF using Ni-phthalocyanine through condensation reaction with 1,4-benzenediboronic acid (BDBA) [181]. This COF, implemented in an electrode, exhibits a photocurrent of 3 µA when irradiated with a xenon lamp. In a subsequent study, the same authors discovered that pthalocyanine-based n-channel 2D-NiPc-BTDA COFs allowed a faster transport of electrons due to the AA-type stacking. Additionally, the latter absorbs light over a wide range of wavelengths up to 1000 nm [182]. In place of phthalocyanine COFs, porphyrin-based ones were made by condensation reaction with benzene diboronic acid (DBA) Energies 2020, 13, 5602 22 of 48 to obtain photoactive COFs with different electron and hole mobility following on from the nature of the metal in the porphryin building block [183].
There are various examples of conductive and photoactive COFs. Nevertheless, their assemblage into complete devices is very challenging due to their insolubility being hardly coated (homogeneously) onto the surface of electrodes or conductive substrates. Following on from this evidence, a feasible approach to avoid the above-mentioned issues, is to directly grow the COF onto the electrode surface. Indeed, Dichtel and co-workers were able to grow oriented COF thin films by using 1,4-phenylenebis(boronic acid) (PBBA) with 2,3,6,7,10,11-hexahydroxytriphenylene (HHTP) (to produce COF-5) and Ni-phthalocyanine-PBBA COF by incorporating single-layer graphene (SLG) supported on copper, silicon carbide, and silicium dioxide substrates under operationally simple solvothermal conditions [184]. Remarkably, COF layers deposited onto SLG showed improved crystallinity if compared to COF powders. The Ni-phthalocyanine-PBBA-based COF on SLG/SiO 2 films absorbed strongly over the visible range of the spectrum. Therefore, porous phthalocyanine COFs are depicted as suitable candidates to be implemented in organic photovoltaics.
Jiang and co-workers synthetized fullerene-loaded CS-COF, a conductive and chemically stable COF obtained by the co-condensation of triphenylene hexamine (TPHA) and tert-butylpyrene tetraone (PT) [185]. Experimentally, the dispersion of CS-COF*C60 in N-methyl-2-pyrrolidone was performed by stirring the solution at 80 • C under argon flux for 1 week. Then, a mixture of PCBM in o-dichlorobenzene (40 mg·mL -1 ) and the obtained suspension (40 mg·mL -1 for CS-COF·C60) were spin coated (1000 rpm, 30 s) onto an ITO substrate for organic solar cells. They built up a 1 cm 2 sandwiched device with a Al/poly(methyl methacrylate (PMMA) as a glue called CSCOF*C60/Au cell geometry. This device supplies a power conversion efficiency of 0.9% with a very large open circuit voltage of 0.98 V. Very interestingly, conductivity measurements, performed by flash photolysis time-resolved microwave method (FP-TRMC), evidence that CS-COF is one of the best hole-transporting organic semiconductors ever reported having a hole-conducting mobility of 4.2 cm 2 ·V −1 ·s −1 . Bein and co-workers successfully obtained thiophene-based COF (TT-COF) to be implemented in a photo-voltaic device by co-condensing thieno-[3,2-b]-thiophene-2,5-diyldiboronic acid (TTBA) and hexa-hydroxytriphenylene (HHTP) [186]. They prepared a thin film COF that was employed as photoactive material to produce a photovoltaic cell (i.e., ITO/TT-COF:PCBM/Al) with an overall efficiency up to 0.05% (OCV = 0.62 V). As a result, designing a COF with larger pores and better packing of PCBM into the pores should raise the photoconversion efficiency and assure a better charge transfer [187]. Similarly, Cheng and co-workers synthesized a COF by condensing (2,3,9,10,16,17,23,24-(octahydroxyphthalocyanito) zinc (ZnPc[OH] 8 ) with a blend of BDBA or a BDBA-derivative that included a pendent azide moiety (N3-BDBA), they inserted covalently-bonded C60 units within the COF pores and proved that the charge was effectively transferred [188]. Bein et al. reported on the synthesis of an oriented thin COF film containing benzodithiophene units and loaded with C60. The synthesis was carried out by co-condensing benzo[1,2-b:4,5-b']dithiophene-2,6-diyl diboronic acid (BDTBA) and HHTP under solvothermal conditions onto an ITO-coated glass substrate. Then two different solutions (i.e., [60] PCBM and [70] PCBM) were spin coated onto the COF-modified electrode. Thin BDT-COF films presented two important optical absorbance bands in the UV spectral region. Furthermore, the oriented BDT-COF films played a host role for different fullerene-based acceptors molecules. The photoluminescence of the BDT-COF film resulted to be quenched when these acceptors were loaded into COF and this evidence confirmed that charge transfer is taking place [189].
Covalent organic frameworks are also synthetized as donor-acceptor building blocks; the obtainment of such COFs with a good crystallinity degree is highly challenging. Indeed, a high crystallinity diminishes the occurrence of internal charge recombination that is detrimental for the photoconductive features of the material. Jiang and co-workers successfully obtained COFs made by columnar arrays of D-A blocks that exhibited vertically ordered p-n heterojunction leading to a remarkably enhanced photoconductivity without any additional dopants, as reported in Figure 11 [190].
Another donor-acceptor COF was obtained by Jin and co-workers. They synthesized DZnPc-ANDI-COF, based on zinc phthalocyanine as donor and naphthalene diimide as acceptor [191]. They also reported the substitution of the central metal ion, i.e., Zn, Cu or Ni to compare the physical properties of the different COFs [192]. When Zn is replaced by Cu or Ni the acceptor unit is still stable, and the charge separation lifetimes were very similar, even if the meta nature influenced the charge lifetimes. The copper-based COF achieved the longest lifetime, i.e., up to 33 μs. These results evidence how the thoughtful choice of the metal is a key parameter in the design of an effective D-A COF. In Table 4, the most effective COFs implemented in DSSCs are summarized.  Figure 11. Schematic representation of 2D D-A COF with self-sorted and periodic electron donor-acceptor ordering and bicontinuous conducting channels (right: structure of one hexagon; left: a 3 × 3 grid). Reproduced with permission from [190].
Another donor-acceptor COF was obtained by Jin and co-workers. They synthesized DZnPc-ANDI-COF, based on zinc phthalocyanine as donor and naphthalene diimide as acceptor [191]. They also reported the substitution of the central metal ion, i.e., Zn, Cu or Ni to compare the physical properties of the different COFs [192]. When Zn is replaced by Cu or Ni the acceptor unit is still stable, and the charge separation lifetimes were very similar, even if the meta nature influenced the charge lifetimes. The copper-based COF achieved the longest lifetime, i.e., up to 33 µs. These results evidence how the thoughtful choice of the metal is a key parameter in the design of an effective D-A COF. In Table 4, the most effective COFs implemented in DSSCs are summarized. columnar arrays of D-A blocks that exhibited vertically ordered p-n heterojunction leading to a remarkably enhanced photoconductivity without any additional dopants, as reported in Figure 11 [190]. Figure 11. Schematic representation of 2D D-A COF with self-sorted and periodic electron donoracceptor ordering and bicontinuous conducting channels (right: structure of one hexagon; left: a 3 × 3 grid). Reproduced with permission from [190].
Another donor-acceptor COF was obtained by Jin and co-workers. They synthesized DZnPc-ANDI-COF, based on zinc phthalocyanine as donor and naphthalene diimide as acceptor [191]. They also reported the substitution of the central metal ion, i.e., Zn, Cu or Ni to compare the physical properties of the different COFs [192]. When Zn is replaced by Cu or Ni the acceptor unit is still stable, and the charge separation lifetimes were very similar, even if the meta nature influenced the charge lifetimes. The copper-based COF achieved the longest lifetime, i.e., up to 33 μs. These results evidence how the thoughtful choice of the metal is a key parameter in the design of an effective D-A COF. In Table 4, the most effective COFs implemented in DSSCs are summarized. Table 4. COFs effectively employed in DSSC. The reported values of photoconversion efficiency could not be compared between each-others, yet they could shine light on the potentiality of this class of material.

Name
Building Blocks

Perovskite Solar Cells (PSCs)
In the last five years, organic-inorganic hybrid perovskite solar cells (PSCs) have gained great attention thanks to their high cell efficiency exceeding 20% [195][196][197][198]. PSCs are multilayer devices in which the perovskite film (behaving as light-harvester) is sandwiched between an electron transporting layer (ETL) and a hole transporting layer (HTL). In a n-i-p geometry the ETL (usually mesoporous or compact TiO 2 ) also acts as substrate for the deposition of the perovskite film. The HTM (e.g., a (un)doped organic polymer) is then deposited onto the PSK film and the device is finished with a metallic contact (Au, Ag . . . ) as shown in Figure 12 [199,200]. Perovskite solar cells are moderately cheap to produce (considering a low waste of materials in the scaling up) and can reach photoconversion efficiency comparable as those of commercially available silicon-based devices [5,[203][204][205][206][207]. Indeed, their efficiency has rapidly raised from 3.8% [208] in 2009 to 23.3% in 2018 in single-junction architecture and to 27.3% in silicon/PSK tandem devices [5] being the latter more efficient than single junction counterparts. Indeed, perovskite solar cells are the fastest-growing solar technology up to today [209]. The possibility of creating low cost, thin, high efficiency, lightweight and flexible solar cells make them really fascinating.
Despite their major advantages, some issues could partially prevent the large-scale production of this class of solar cells: the use of lead is being debated today due to its toxicity and environmental harmfulness; the poor stability in the atmosphere due to degradative interaction with both oxygen and water and the partial photothermal instability of the perovskite layer itself [210]. In this context, the optimization of the ETL layer and its interface with perovskite film is of great importance to ameliorate the photostability of the device. Among different strategies [211], the employment of MOF-modified ETL could be a low-cost and feasible route. Three-dimensional perovskite structures The general formula of hybrid perovskite formula is ABX 3 in which A is methyl ammonium or another monovalent cation, B is Pb (II) or Sn (II), and X is Cl − , Br − , or I − . If lead is the bivalent cation, methyl ammonium the monovalent cation and I − the anion, we obtain a methylammonium lead iodide perovskite (MAPbI 3 ). In this material, the orbitals of lead and iodine contributes to the energetic level of the PSK (HOMO and LUMO) whereas the methylammonium cation does not give any contribution to the electronic properties of the absorbing layer, being involved in the establishment of the 3D network of the crystal, though. Straightforwardly, MA deeply influences the optical properties of the PSK layer. MAPbI 3 , and more broadly PSKs, has a direct bandgap of around 1.55 eV (absorption onset of about 800 nm) and large absorption coefficient in the visible range. So, this generates a high density of photoexcited charges and assures efficient light-harvesting [201,202].
Perovskite solar cells are moderately cheap to produce (considering a low waste of materials in the scaling up) and can reach photoconversion efficiency comparable as those of commercially available silicon-based devices [5,[203][204][205][206][207]. Indeed, their efficiency has rapidly raised from 3.8% [208] in 2009 to 23.3% in 2018 in single-junction architecture and to 27.3% in silicon/PSK tandem devices [5] being the latter more efficient than single junction counterparts. Indeed, perovskite solar cells are the fastest-growing solar technology up to today [209]. The possibility of creating low cost, thin, high efficiency, lightweight and flexible solar cells make them really fascinating.
Despite their major advantages, some issues could partially prevent the large-scale production of this class of solar cells: the use of lead is being debated today due to its toxicity and environmental harmfulness; the poor stability in the atmosphere due to degradative interaction with both oxygen and water and the partial photothermal instability of the perovskite layer itself [210]. In this context, the optimization of the ETL layer and its interface with perovskite film is of great importance to ameliorate the photostability of the device. Among different strategies [211], the employment of MOF-modified ETL could be a low-cost and feasible route. Three-dimensional perovskite structures consisted of highly porous TiO 2 -MOF that have many advantages such as high stability, fast charge carrier, and high absorption coefficient [212] leading to the obtainment of photoactive ETLs. Up to now, just few examples of implementation of metal organic frameworks in PSCs have been reported. In the following subsection we briefly review them.

MOFs in PSCs
Vinogradov and co-workers implemented, for the first time, a crystalline metal-organic framework, namely MIL-125 (Ti 8 O 8 (OH) 4 -(O 2 C-C 6 H 4 -CO 2 ) 6 , as an active material in a perovskite solar cell [213]. They performed a single-step synthesis to obtain a TiO 2 -MOF composite during which water was added as a limiting reactant for Ti(OC 3 H 7 ) 4 causing a step-by-step growth of a hetero-phasic system. Initially, a titanium oxyhydroxide precipitate was formed and then it was converted into crystalline anatase by a hydrothermal treatment. By varying the initial concentration of precursor the MOF content in TiO 2 was tuned, being at least 5% w/w. The solid compound was washed twice with methanol and dried at 200 • C before being employed as ETL in a PSC. 3% MOF-modified TiO 2 was found to be the most efficient ETL, leading to a 6.4% photoconversion efficiency (being FAPbI 3 the PSK layer). The band gap of commercial TiO 2 is approximately 3.3 eV that could cause problems in exciting and injecting the electrons, which gives rise to inefficient electron transportation and then poor electrical conductivity. To improve the latter, Nguyen and Bark reported on the doping of TiO 2 with Co-metal organic framework by solvothermal method [214]. They obtained a PCE close to 16% by employing 1 wt% Co-doped TiO 2 shifting the band gap low to 2.4 eV.
High crystallinity and proper morphology are two key parameters to obtain efficient PSCs; up to now, the deposition methods to obtain the wanted features are quite expensive, time-demanding and they required numerous synthetic steps [215][216][217][218]. To overcome these issues, Chang et al. tried to increase the crystallinity of PSK layer by embedding the latter in a MOF nano-crystalline (140 nm) matrix by using just one deposition step [219]. More in detail, they use a Zn-based MOF (i.e., MOF-525) [220] with a cubic structure to incorporate the perovskite crystals by driving a more efficient and homogeneous crystallization process. Once implemented in a complete PSCs, they obtain an overall conversion efficiency up to 12%. They performed chronoamperometric experiments to figure out the reason the difference in redox activity of the MOF-525 and metal-based MOF-525 thin films proving that the apparent diffusion coefficient (D app ) of the Zn-MOF-525 thin film is higher than that of the Co-MOF-525 thin film. Moreover, Co-MOF-525 thin film obtains higher D app than the MOF-525 thin film. As a result, it is observed that the Zn-MOF-525 thin film supplies faster charge hopping or faster ion diffusion compared to the Co-MOF-525 and MOF-525 thin films.
Li et. al. presented for the first time ZIF-8 in DSCCs customizing the surface of a TiO 2 electrode and they succeeded to enhance the open-circuit voltage [93]. More recently, also used ZIF-8 in PSCs trying to correlate the quality of the MOF layer at the interface between ETL and PSK and the photovoltaic performance [221]. A thin interlayer of ZIF-8 was coated on the surface of mesoporous-TiO 2 (mp-TiO 2 ) to control the growth of a perovskite crystalline layer. When ZIF-8 was employed as additional layer at the interface between mp-TiO2 and the perovskite film, they obtain a substantial improvement of both crystallinity and morphology of the perovskite thin film that lead to a PCE close to 17% and higher than reference performances. PCE for the PSC with pure mp-TiO 2 as the ETL was 14.75% (J SC of 20.77 mA cm 2 , V OC of 1.00 V, FF of 0.71). On the other hand, the device with the ZIF-8-20 interfacial layer reached a better efficiency of 16.99% (J SC of 22.82 mA cm 2 , V OC of 1.02 V, FF of 0.73). A similar approach to enhance optical harvesting and electron extraction efficiency was recently reported by Zhang and co-workers, introducing a MOF-derived ZnO (MZnO) with dodecahedron porous structure, namely ZIF-8 [222]. The introduction of MOF-derived ZnO as ETL allows to reach more efficient electron extraction and to reduce trap state density leading to a lower electron-hole recombination. Thus, higher fill factor (0.74) and short-circuit current density (22.1 mA cm 2 ) were achieved (PCE = 18.1%). When comparing the effect of different sizes of M-ZnO on the performance of perovskite films and PSCs, the optimum was reached for a MOF particle size of about 120 nm. Additionally, the so-obtained devices showed almost no hysteresis effect, and performance attenuation in the ambient atmosphere over time was eliminated.
Oriented microporous metal−organic framework (MOF) thin films made through a liquid phase technique for CH 3 NH 3 PbI 2 X (X = Cl, Br, and I) perovskite was reported by Chen et al. [223]; PbI 2 and CH 3 NH 3 X (MAX) precursors were introduced into MOF HKUST-1 (Cu 3 (BTC) 2 , BTC = 1,3,5-benzene tricarboxylate) thin film and allowed to crystallize in order to obtain extra small MAPbI 2 X (X = Cl, Br, and I) quantum dots with a diameter lower than 2 nm (i.e., comparable with the dimensions of the micropores in the MOF structure). The so-obtained hybrid structure was found to be quite irresponsive to air exposure having high stability. Unfortunately, the authors did not report the implementation of this PSK layer into a complete device. It is worth mentioning that just few studies about incorporation of MOFs into perovskite solar cells have been published so far. One of these studies reports on the implementation of an In-based MOF, i.e., [In 2 (phen) 3 Cl 6 ]·CH 3 CN·2H 2 O (namely In2), as hole transport material in PSCs. Its implementation allowed to finely tune the band alignment between the energy levels of PSK and HTM. Straightforwardly, the authors enhanced short-current density (from 19.53 to 21.03 mA cm −2 ), open circuit voltage (from 0.98 to 1.10) and FF (from 0.67 to 0.74) in comparison with reference devices leading to a significant increase in the cell efficiency from 12.8% to 15.8% [224]. The authors ascribed these unexpected results to both a decrement in the concentration of pin holes in the HTM and an increase in the light absorption of the device assured by the In2 behaving as a scattering layer. Additionally, the emission spectra of the employed MOF are partially superimposed to the absorption profile of the perovskite.
In order to obtain flexible but high performing PSCs, the nanometric TiO 2 particle should be replaced by ultra-small ones that should require relatively low sintering temperature to not damage the flexible substrate (usually made of PET/ITO, with the polymeric substrate being unstable above 120 • C).
In this context, Ti-based MOFs could be effectively employed being well-ordered materials constituted by Ti-oxo clusters and organic linkers [48,225]. Ryu and co-workers used nanocrystalline nTi-MOF (ca. 6 nm) as ETL in PSCs [226]. This MOF was proved to effectively assure the electrons transport throughout the ETL. Remarkably, the embodiment of PCBM into the MOF matrix further enhanced the film conductivity. Perovskite solar cells made by nTi-MOF showed good photoconversion efficiency both in rigid and flexible architecture, 18.9% and 17.4%, respectively. Very interestingly, the stability of the device was maintained after more than 700 bending cycles (i.e., 15.4%, 0.88 of its initial value). Therefore, this approach could be very promising to obtain flexible, efficient and stable PSCs.  [227]: they obtained cakelike nanocrystals leading to a better crystallization of the perovskite film and reducing, in turns, the electron-hole pair recombination. The relative devices reached a PCE close to 13% and almost null hysteresis. The efficiency of perovskite/Zr-based MOF heterojunction in PSCs were investigated by means of two types of Zr-MOFs, and UiO-66 and MOF-808 was selected as a MOFs combination because of their chemical and moisture durability [228]. When MOFs were used as an interlayer (deposited onto the ETL one before the growth of the PSK layer) they drove the growth of the perovskite layer leading to a better crystallinity. UiO-66/MOF-808-modified PSCs exhibited power conversion efficiencies up to 17.0% and 16.6%, outperforming the control device (15.8%). Furthermore, both MOFs partially acted as UV-filters leading to a better photostability of the device. Indeed, the hybrid MOFs distribute over the perovskite grain boundary contributing a grain-locking effect to simultaneously passivate the defects and to strengthen the film's durability against moisture invasion. Over 70% of the initial PCE was maintained after being stored in air (25 • C and relative humidity of 60 ± 5%) for over 2 weeks. In Table 5, the most effective COFs implemented in PSCs are summarized. Table 5. Metal-organic frameworks implemented in perovskite solar cells. For sake of brevity, we prefer to report the metal and the organic linker separately. The reported values of photoconversion efficiency could not be compared between each-others, yet they could shine light on the potentiality of this class of material. The main role of the MOF is bold in the first column.

Metals
Organic Linker(s)

MIL-125(Ti)
nTi-MOF (ca. 6 nm) as ETL in PSCs [226]. This MOF was proved to effectively assure the electrons transport throughout the ETL. Remarkably, the embodiment of PCBM into the MOF matrix further enhanced the film conductivity. Perovskite solar cells made by nTi-MOF showed good photoconversion efficiency both in rigid and flexible architecture, 18.9% and 17.4%, respectively. Very interestingly, the stability of the device was maintained after more than 700 bending cycles (i.e., 15.4%, 0.88 of its initial value). Therefore, this approach could be very promising to obtain flexible, efficient and stable PSCs. Zhao et al. employed the same MOF (MIL-125) as ETL [227]: they obtained cakelike nanocrystals leading to a better crystallization of the perovskite film and reducing, in turns, the electron-hole pair recombination. The relative devices reached a PCE close to 13% and almost null hysteresis. The efficiency of perovskite/Zr-based MOF heterojunction in PSCs were investigated by means of two types of Zr-MOFs, and UiO-66 and MOF-808 was selected as a MOFs combination because of their chemical and moisture durability [228]. When MOFs were used as an interlayer (deposited onto the ETL one before the growth of the PSK layer) they drove the growth of the perovskite layer leading to a better crystallinity. UiO-66/MOF-808-modified PSCs exhibited power conversion efficiencies up to 17.0% and 16.6%, outperforming the control device (15.8%). Furthermore, both MOFs partially acted as UV-filters leading to a better photostability of the device. Indeed, the hybrid MOFs distribute over the perovskite grain boundary contributing a grain-locking effect to simultaneously passivate the defects and to strengthen the film's durability against moisture invasion. Over 70% of the initial PCE was maintained after being stored in air (25° C and relative humidity of 60 ± 5%) for over 2 weeks. In Table 5, the most effective COFs implemented in PSCs are summarized. Table 5. Metal-organic frameworks implemented in perovskite solar cells. For sake of brevity, we prefer to report the metal and the organic linker separately. The reported values of photoconversion efficiency could not be compared between each-others, yet they could shine light on the potentiality of this class of material. The main role of the MOF is bold in the first column.

Metals
Organic Linker(s) transport throughout the ETL. Remarkably, the embodiment of PCBM into the MOF matrix further enhanced the film conductivity. Perovskite solar cells made by nTi-MOF showed good photoconversion efficiency both in rigid and flexible architecture, 18.9% and 17.4%, respectively. Very interestingly, the stability of the device was maintained after more than 700 bending cycles (i.e., 15.4%, 0.88 of its initial value). Therefore, this approach could be very promising to obtain flexible, efficient and stable PSCs. Zhao et al. employed the same MOF (MIL-125) as ETL [227]: they obtained cakelike nanocrystals leading to a better crystallization of the perovskite film and reducing, in turns, the electron-hole pair recombination. The relative devices reached a PCE close to 13% and almost null hysteresis. The efficiency of perovskite/Zr-based MOF heterojunction in PSCs were investigated by means of two types of Zr-MOFs, and UiO-66 and MOF-808 was selected as a MOFs combination because of their chemical and moisture durability [228]. When MOFs were used as an interlayer (deposited onto the ETL one before the growth of the PSK layer) they drove the growth of the perovskite layer leading to a better crystallinity. UiO-66/MOF-808-modified PSCs exhibited power conversion efficiencies up to 17.0% and 16.6%, outperforming the control device (15.8%). Furthermore, both MOFs partially acted as UV-filters leading to a better photostability of the device. Indeed, the hybrid MOFs distribute over the perovskite grain boundary contributing a grain-locking effect to simultaneously passivate the defects and to strengthen the film's durability against moisture invasion. Over 70% of the initial PCE was maintained after being stored in air (25° C and relative humidity of 60 ± 5%) for over 2 weeks. In Table 5, the most effective COFs implemented in PSCs are summarized. Table 5. Metal-organic frameworks implemented in perovskite solar cells. For sake of brevity, we prefer to report the metal and the organic linker separately. The reported values of photoconversion efficiency could not be compared between each-others, yet they could shine light on the potentiality of this class of material. The main role of the MOF is bold in the first column.

Metals
Organic Linker(s)

48
In 19.47 [208] As one can see from Table 4, MIL-125 was employed in both the photoactive material [213] and in the ETL [226]. This is a meaningful proof of the versatility of metal-organic frameworks. It is worth mentioning that just few works have been presented on the implementation of MOFs in perovskite 15

48
In 19.47 [208] As one can see from Table 4, MIL-125 was employed in both the photoactive material [213] and in the ETL [226]. This is a meaningful proof of the versatility of metal-organic frameworks. It is worth mentioning that just few works have been presented on the implementation of MOFs in perovskite 18

48
In 19.47 [208] As one can see from Table 4, MIL-125 was employed in both the photoactive material [213] and in the ETL [226]. This is a meaningful proof of the versatility of metal-organic frameworks. It is worth mentioning that just few works have been presented on the implementation of MOFs in perovskite 17 [228] Hole Transport Material (HTM) In

48
In 19.47 [208] As one can see from Table 4, MIL-125 was employed in both the photoactive material [213] and in the ETL [226]. This is a meaningful proof of the versatility of metal-organic frameworks. It is worth mentioning that just few works have been presented on the implementation of MOFs in perovskite 18.51 [207] Hole Transport Material (HTM) In

48
In 19.47 [208] As one can see from Table 4, MIL-125 was employed in both the photoactive material [213] and in the ETL [226]. This is a meaningful proof of the versatility of metal-organic frameworks. It is worth mentioning that just few works have been presented on the implementation of MOFs in perovskite 19.47 [208] As one can see from Table 4, MIL-125 was employed in both the photoactive material [213] and in the ETL [226]. This is a meaningful proof of the versatility of metal-organic frameworks. It is worth mentioning that just few works have been presented on the implementation of MOFs in perovskite solar cells; yet, the photoconversion efficiency reached is very promising and there is plenty of room for implementation.
In the last few years, growing attention was dedicated to the employment of MOFs and MOF-derivatives as doping agents to enhance the performances and the stability of conventional HTM, namely SPIRO-o-MeTAD. Aiming at this, the first attempts were made with indium-based MOFs: in 2019, Yang et al. reported In10 ([In 0.5 K (3-qlc) Cl 1.5 (H 2 O) 0.5 ] 2n ) as an effective oxidative host for SPIRO-o-MeTAD leading to a higher conductivity of the HTL and suppressing charge recombination at the interface with PSK [229]. As an added property, In10 increased the light response of PSCs due to its photoluminescence properties: this led to an overall efficiency of 17% (J SC = 24.3 mA cm −2 , V OC = 1 V, FF = 0.7). A parallel approach was proposed by the same group [230]: they employed In-Aipa, [In(Hipa-NH 2 ) 2 (ipa-NH 2 ) 2 ]·5H 2 O, a 2D indium-based MOF as an effective auxiliary additive (in conjunction with both Li-TFSI and TBP that are very useful to increase the quality of HTM but jeopardize the long-term stability of the device) in SPIRO-o-MeTAD [231,232]. The resulting devices reached a PCE close to 19% and, more remarkably, they retained over 85% of the initial PCE after 720 h of air exposure. This result can be promising in terms of highly efficient and long-term stable PSC devices. A further step toward more stable PSCs was made by the same group through the replacement of TBP with a different In-based MOF, namely In(HPyia)Cl 2 ]·CH 3 CN (In-Pyia) [233]. As a matter of fact, TBP, which is highly volatile liquid phase component, caused the aggregation, hydration, and ion penetration of lithium salts into the PSK layer. The In-Pyia-modified PSCs boosted power conversion efficiency up to 20% surpassing the typical devices including t-BP (18%). In addition, In-Pyia-based device achieved a longer stability if compared with the TBP-based counterpart maintaining 81% of the initial PCE after 16 days without any encapsulation (below 20% for control device).
The examples analyzed above employed In-based MOFs. Other approaches involved lead [234] and copper-based [235] materials. Zeng et al. combined a 2D Pb-based MOF with Spiro-OMeTAD as innovative HTL in PSCs [234]. The authors evidenced a haloing orienting effect of the latter leading to a smoother interface with PSK, higher hydrophobicity and an upshifting of the energy level when compared to Spiro-O-MeTAD, leading to a 25% increase in PCE and a longer stability. Instead, Cu-based MOF was employed by Fan's group who proposed the first application of hybrid material as oxidant in the HTM layer [235]. They tested a hybrid polyoxometalate@metal-organic framework (POM@MOF) material, [Cu 2 (BTC)4/3-(H 2 O) 2 ] 6 [H 3 PMo 12 O 40 ] 2 for the oxidation of spiro-OMeTAD with Li-TFSI and TBP. POMs began to attract attentions in PSCs, owing to their strong electron-accepting and oxidation ability, [236] being able to oxidize spiro-OMeTAD in an inert condition, and increase conductivity and performance of device [237]. In this context, POM@Cu-BTC composite showed dual-functions during chemical doping spiro-OMeTAD increasing the hole mobility of the resulting HTM by a factor of 2 and an overall PCE close to 22%.

COFs in PSCs
Initially, researchers' efforts were focused on obtaining and implementing 2D COFs whereas more recently 3D COFs have also shown some interesting features. Concerning emerging photovoltaics, Wu et. al. has recently reported highly conjugated three-dimensional COFs based-on spirobifluorene and their employment in perovskite solar cells [238]. They employed these COFs as an additive into the perovskite layer. They obtained 3D ordered porous frameworks with an orthogonal configuration of biplanar spirobifluorene units as tetrahedral nodes. This structure presented several electron-transporting channels in the frameworks with highly ordered array by having rigid and long-range conjugated systems. When a SP-3D-COFs-mdified PSK layer was used in a complete device led to a power conversion efficiency up to 18.3% for SP-3D-COF 1 and 18.7% for SP-3D-COF 2 that are extremely higher if compared to reference device (PCE = 15.8%). More recently, Kuo et al. used 2D-COF based on a building block of tetraphenylethylene as a hole transport layer for the modification of both PTAA or NiO in inverted perovskite solar cells [239]. In the case of PTAA-based PSCs, the establishment of π-π interactions between COF and the HTL led to an amelioration of the photoconversion efficiency, approaching 20% ( Figure 13). Furthermore, the presence of COF interlayer seems to improve both the crystallinity and the morphology of the perovskite layer.
A new approach for synthesis of 2D imine-based COFs was reported by Li et al. [240]: pyrene units, containing two different functional groups which are formyl and amino groups, were used and polymerized through self-assembly condensation reaction. They also obtained pyrene-COFs using two different pyrene units by co-condensation reactions. The former approach allows to obtain COFs exhibiting higher crystallinity as well as higher porous surface (BET Surface; 1200-1372 m 2 /g). This is actually a promising strategy to obtain COFs in a mild condition. This pyrene-COF was also used as a HTLs combining with PTAA in PSCs reaching a photoconversion efficiency as high as 6.36% (V OC of 0.76 V, J SC of 15.4 mA/cm 2 , and a FF of 54%).
As far as we are aware, these are the only examples regarding the effective implementation of a covalent organic framework in perovskite solar cells. Yet, following on from the extremely good photoconversion efficiency, it could soon become the milestone for future improvements in this field. We are quite confident that the best is yet to come! A new approach for synthesis of 2D imine-based COFs was reported by Li et al. [240]: pyrene units, containing two different functional groups which are formyl and amino groups, were used and polymerized through self-assembly condensation reaction. They also obtained pyrene-COFs using two different pyrene units by co-condensation reactions. The former approach allows to obtain COFs exhibiting higher crystallinity as well as higher porous surface (BET Surface; 1200-1372 m2/g). This is actually a promising strategy to obtain COFs in a mild condition. This pyrene-COF was also used as a HTLs combining with PTAA in PSCs reaching a photoconversion efficiency as high as 6.36% (VOC of 0.76 V, JSC of 15.4 mA/cm 2 , and a FF of 54%).
As far as we are aware, these are the only examples regarding the effective implementation of a covalent organic framework in perovskite solar cells. Yet, following on from the extremely good photoconversion efficiency, it could soon become the milestone for future improvements in this field. We are quite confident that the best is yet to come!

Conclusions
Throughout the present review, we discuss on the implementation of both metal-organic frameworks (MOFs) and covalent organic frameworks (COFs) in emerging photovoltaics, namely dye-sensitized solar cells (DSSCs) and perovskite solar cells (PSCs). Both MOFs and COFs have a unique structure with a great tunability of their organic and inorganic components that confer incredible chemical versatility. For this reason, they can be used in many areas: from capture, storage, separation, and conversion of gases to (photo)catalysis and drug delivery, from optoelectronic to sensors, and from magnetism and ferroelectricity to light harvesting and energy transfer. As far as the photovoltaic field is concerned, they do not have a unique role but, based on their photophysical and chemical properties, they could be effectively employed as photoactive material, electrodes or

Conclusions
Throughout the present review, we discuss on the implementation of both metal-organic frameworks (MOFs) and covalent organic frameworks (COFs) in emerging photovoltaics, namely dye-sensitized solar cells (DSSCs) and perovskite solar cells (PSCs). Both MOFs and COFs have a unique structure with a great tunability of their organic and inorganic components that confer incredible chemical versatility. For this reason, they can be used in many areas: from capture, storage, separation, and conversion of gases to (photo)catalysis and drug delivery, from optoelectronic to sensors, and from magnetism and ferroelectricity to light harvesting and energy transfer. As far as the photovoltaic field is concerned, they do not have a unique role but, based on their photophysical and chemical properties, they could be effectively employed as photoactive material, electrodes or charge carriers, accomplishing mainly all the single components of a PV device. So, we do not feel to propose new applications but the main idea that should come out from this review is that there is still a large space for the implementation of the single PV device component with MOF-and COF-based materials (in particular as photoactive material or as hole transporting material in PSCs or photoanodic material or solid-state sensitizers in DSSCs). Indeed, based on their photophysical and chemical properties, they could be effectively employed as photoactive materials, electrodes or charge carriers. Indeed, MOFs are complex materials with highly tunable properties that could be largely exploited in order to design tailored features. Actually, MOFs can play different roles in a DSSC being able to act as photosensitizers, electrolyte additives or electrode materials. When employed as electrode-modifier and/or interlayer, MOFs have demonstrated to improve the dye loading thanks to their wide surface area and high porosity. Moreover, they are very good candidates as photoelectrode materials since, due to their electrical insulating properties, they can effectively minimize the interfacial charge recombination between the electrolyte and the electrons injected in the conduction band of TiO 2 . The highest efficiency reached is over 7% when MOF was used as photoanode exploiting the excellent ability to increase scattering capacity of incident light as well as demonstrating low loss ratio of photogenerated electrons by small dark current. The light harvesting capacity of MOFs can be easily tuned by choosing the appropriate organic linker, extending the absorption region within the ultraviolet and blue-violet region of the solar cells. The best overall efficiency is above 8% for a liquid-junction DSSC employing Indium(III)-Potassium(I) Metal-Organic Framework as a sensitizer in combination with N719. Some recent examples also report the use of MOFs as photosensitizers in solid-state photovoltaic cells. Another possible role of MOFs is their use as counter-electrode in order to reduce the cell costs getting rid of Pt. The preliminary results reported so far are very promising with overall photoconversion efficiency up to 9% due to large surface area and good electronic properties, i.e., an easier diffusion of iodine-based redox couple. In particular, it is worth noting that MOFs could be directly used as counter-electrode in place of Pt and could be seriously investigated as an effective low-cost and feasible alternative to platinum as counter-electrodes in DSSCs. A different, but somehow complementary, approach consists in the employment of custom-made MOFs as precursors to obtain, by thermal decomposition, a counter-electrode with specific properties and morphology (usually metal sulphides and oxides are obtained by this approach).
The high versatility of MOFs is even more evident in the different roles they can fill in PSCs: indeed, they could be effectively applied as photoactive material, HTM or ETL. In all the reported cases, the photoconversion efficiency reached, still remaining well below the state of the art, demonstrates the great possibilities in the implementation of the final device. The use of MOF as electron transport layer can enhance optical harvesting and electron extraction efficiency reducing the trap state density leading to a lower electron-hole recombination. In addition, the MOF-based devices showed almost no hysteresis effect and improved stability. The same turned out to be true when MOF is employed as doping agent for conventional HTMs. The overall efficiency is above 19% with remarkable stability.
On the other side, the specific role of covalent organic frameworks in DSSCs and PSCs is still not very clear since very few examples are present in the literature. Most of the studies reported on the possible implementation of COF structures in emerging PV but they mainly investigate their photoelectrochemical properties without showing their use in a real device. Some examples concern the use of COFs in PSCs with efficiency exceeding 18% where the presence of COFs seemed to improve both the crystallinity and the morphology of the PSK layer. These few examples are in any case very promising results for an effective implementation of COFs in PSCs.

Funding:
The authors acknowledge a grant of the Department of Chemistry of University of Turin on "Harnessing the power of light in photoactive metal-organic frameworks" within the initiative denoted "Tomorrows" to promote the collaboration among research groups.

Conflicts of Interest:
The authors declare no conflict of interest.