Question: what is the relationship between ir rays and heat?
Answer: The internal energy may be increased by transferring energy to the object from a higher temperature (hotter) object - this is properly called heating. Thus the energy carried away by the infrared radiation reduces the heat content of the radiating body. This is the connection of infrared to heat.