Solar hydrogen production and CO2 recycling