A route for minimizing emissions: sun-mediated processes and clean batteries