The aim of this monograph is to give a comprehensive introduction to the structure theory of higher dimensional algebraic varieties by studying the geometry of curves, especially rational curves, on them. The book contains many exercises which makes it especially suitable as a graduate level textbook.