Prussian blue
This magnetism is due to the transfer of an electron from the cobalt to the iron, with light providing the energy, while the electron moves back when heat is applied, the researchers said.