  We discuss energy-momentum tensor and the second law of thermodynamics for a
system of relativistic diffusing particles. We calculate the energy and entropy
flow in this system. We obtain an exact time dependence of energy, entropy and
free energy of a beam of photons in a reservoir of a fixed temperature.
