The microbial fuel cell chamber (left) contains a bioanode, where electrogenic bacteria thrive and extract electrons from organic nutrients in wastewater. A cuprous oxide photocathode in the photoelectrochemical chamber (right) works with the anode to produce hydrogen. In this laboratory setup, the device is mounted to a solar simulator to mimic energy from the Sun.