The energy inside photons can never be destroyed, but it can be absorbed and transformed into other types of energy (i.e. the motion of molecules).