Kinetic theory of gases and radiation