The LED chip, or light engine produces heat. This needs to be dissipated as quickly as possible. This is normally by using a heat sink. This often has fins. Cool LEDs are more efficient than hot ones. They also have a longer life. Of course, higher power LEDs generally run hotter than low power ones because of the extra heat to remove.