I will present the theorem of Gessel and Viennot on counting lattice paths by a determinant, with their three applications.