Chinese researchers create device that can convert water into electricity and detect fires

The device uses a nanoporous layer integrated with cotton waste and other materials to generate energy when exposed to visible or infrared light.