This course presents a rigorous treatment of classical statistical mechanics with the application to real systems followed by the recent theory of critical phenomena.