...
In 1900, however, the German physicist Max Planck (1858–1947) explained the ultraviolet catastrophe by proposing that the energy of electromagnetic waves is quantized rather than continuous. This means that for each temperature, there is a maximum intensity of radiation that is emitted in a blackbody object, corresponding to the peaks in Figure 2, so the intensity does not follow a smooth curve as the temperature increases, as predicted by classical physics. Thus energy could be gained or lost only in integral multiples of some smallest unit of energy, a quantum (the smallest possible unit of energy). Energy can be gained or lost only in integral multiples of a quantum..
Figure 2: Relationship between the Temperature of an Object and the Spectrum of Blackbody Radiation It Emits. At relatively low temperatures, most radiation is emitted at wavelengths longer than 700 nm, which is in the infrared portion of the spectrum. The dull red glow of the electric stove element in Figure 1 is due to the small amount of radiation emitted at wavelengths less than 700 nm, which the eye can detect. As the temperature of the object increases, the maximum intensity shifts to shorter wavelengths, successively resulting in orange, yellow, and finally white light. At high temperatures, all wavelengths of visible light are emitted with approximately equal intensities. The white light spectrum shown for an object at 6000 K closely approximates the spectrum of light emitted by the sun.
...