Vast amounts of excess heat are generated by industrial processes and by electric power plants; researchers around the world have spent decades seeking ways to harness some of this wasted energy. Most such efforts have focused on thermoelectric devices, solid-state materials that can produce electricity from a temperature gradient, but the efficiency of such devices is limited by the availability of materials.