A frequently listed advantage of LEDs is that they do not produce heat. In a way, this is true, LEDs are cool to the touch because they usually do not produce heat in the form of infrared (IR) radiation. This obviously doesn’t go for IR specific LEDs.
IR radiation is what actually heats incandescent bulbs and other light sources, making them hot to the touch. Without IR radiation, LEDs are able to be placed in spots where the heat from other sources would cause a problem.
The ambient temperature and the drive current both affect the junction temperature of LEDs. Other influences are the nature of the light, whether it is steady state or pulsed, and then the one we are really interested in, LED wattage per unit area of heat sink.
Heat sinks are an important part of LED lighting because they provide the path for heat to travel from the LED light source to outside elements. Heat sinks are able to dissipate power in three ways: conduction (heat transfer from a solid to a solid), convection (heat transfer from a solid to a moving fluid, air in most cases), or radiation.