You may not have reversed it per se but you utilized it.
A star/sun consumes vast quantity of matter and converts it to photon.
All for lazs' benefit.
Stars release some energy as photons, they don't convert matter to photons, and black holes release no photons. As you smush atoms together or tear them apart, some of that flies off as photons. Not all of it.