Fact 1: a flashlight converts chemical energy into light energy. 
Fact 2: A joule is roughly the energy used by a flashlight turned on for one second.
a flashlight converts chemical energy to light energy in the form of joules.