A geodesic is the straightest possible curve on a surface — it generalizes the straight line. On a sphere, great circles are geodesics. On a torus, generic geodesics are dense (ergodic) when the angle is irrational; rational angles give closed curves. Geodesics are solutions to the geodesic equation, determined by the metric and its Christoffel symbols.