This book accompanies ather book by the same authors, and presents the theory of the evolution of density perturbations and relic gravity waves, theory of cosmological inflation and post-inflationary reheating. Written in a pedagogical style, the main chapters give a detailed account of the established theory, with derivation of formulas. Being self-contained, it is a useful textbook for advanced undergraduate students and graduate students. Essential materials from General Relativity, theory of Gaussian random fields and quantum field theory are collected in the appendices. The more advanced topics are approached similarly in a pedagogical way. These parts may serve as a detailed introduction to current research.