The approach is to design synergistic materials by combining two single-atom thick sheets, for example, that act as a photovoltaic cell as well as a light-emitting diode, converting energy between electricity and radiation.