This book provides the foundations of analytical thermodynamics for graduate level. The content is based on the author's lecture notes developed over 30 years of academic teaching. It aims to present thermodynamics to the readers as easy to understand as possible, being suitable for professors teaching advanced thermodynamics or graduate students learning thermodynamics. The chapters include the basics of analytical thermodynamics, modelling of homogeneous and heterogeneous systems, thermodynamics of interfaces and three-phase contact lines and the Second Law in engineering thermodynamics.