Catalytic, photocatalytic, and electrocatalytic processes for the valorization of CO2