An idealized blackbody. A cubical solid at a high temperature emits photons from an interior spherical surface. The photons reflect several times before emerging through a narrow channel. The reflections ensure that the radiation is in thermal equilibrium with the solid.