This lecture covers the calculation of internal energy and specific heat for gases, electrons in crystals, phonons, and photons. It explains the statistical distributions, ensembles, and the ergodic hypothesis, providing insights into the quantum states and macroscopic properties. The lecture also delves into the different contributions to specific heat, the role of phonons and electrons in material heat capacity, and the importance of photons in thermal emission problems.