The statistical basis of thermodynamics; elements of ensemble theory, the canonical and grand canonical ensembles; quantum statistics; application to simple gases; Bose and Fermi systems; Imperfect gas; Phase transitions and Ising model.