The Path constraint lets you convert a 3D Curve created in the Viewer window into an animation path.
Path constraint
The time-length of the path animation is determined by the time set in the Transport Controls End field. For example, if the End field has a value of 300 frames, the constrained object takes 300 frames to reach the end point of the path.