The world is currently facing critical water and energy issues due to the growing population and industrialization, calling for methods to obtain potable water, e.g., by photocatalysis, and to convert solar energy into fuels such as chemical or electrical energy, then storing this energy. Energy storage has been recently improved by using electrochemical capacitors and ion batteries. Research is