name the heat energy given out by hot bodies in the form of infrared rays
The answer is Radiant energy. Infrared light has properties of radiant energy in the form of either a wave or a particle.
Heat energy lost by a hot body is not equal to heat energy gained by the surroundings.