A reverse electrodialysis cell-modified photocatalytic fuel cell for efficient electricity and hydrogen generation from the degradation of refractory organic pollutants.