All objects at a temperature above absolute zero emit IR radiation which is electromagnetic radiation. This can be considered either as a wave or as photons to assist our understanding of the processes involved. The intensity of the radiative flux can be calculated using the Stefan-Boltzmann equation and it is proportional to the fourth power of the absolute temperature of the radiating object. When radiation leaves an object, like the Sun for example, it can result in something else getting hotter, like our Earth but does the heat energy actually reside within the EM wave/photons? If it does not how does the heat leave the Sun and enter the Earth?
The question seems to be a little bit misleading. The energy is conserved as a whole.and heat energy is actually a kinetic energy of the particles of the object. So, the emission of radiation would cause the particles of the object radiating to have less kinetic energy, which causes the whole object to have less temperature.
This transmitted energy through the photons would excite the particles of the target, and cause them to move with a higher kinetic energy (higher temperature of the target).