The microscopic statistical mechanical foundations of the macroscopic thermodynamics of materials, with applications to ideal and non-ideal gases, electrons and phonons in solids, multicomponent solutions, phase equilibria in single and multicomponent systems, and capillarity.