The paper presents a survey on recent results on the geometry of Riemann surfaces showing that the study of closed geodesics provides a link between different aspects of Riemann surface theory such as hyperbolic geometry, topology, spectral theory, and the theory of arithmetic Fuchsian groups. Of particular interest are the systoles, the shortest closed geodesics of a surface; their study leads to the hyperbolic geometry of numbers with close analogues to classical sphere packing problems.