This book deals with theoretical thermodynamics and the statistical physics of electron and particle gases. It treats the laws of thermodynamics from a classical and a quantum theoretical view point. The free energy is calculated with a Gibbs formalism.