Review of thermodynamics, statistical bases of second law, entropy and irreversibility, equipartition, the Gibbs paradox. Quantum statistics, ideal Fermi gas, ideal Bose gas, Bose-Einstein condensation, phase equilibrium, phase transitions, fluctuations and transport theory.