You heat an ideal material (solid, liquid, gas) and it emits electromagnetic radiation, with a spectral energy distribution (SED) following that of a "black body", per Planck.
You heat a homogeneous real material (a lump of iron, a body of water, some hydrogen; things like dust with a wide...