Pass SVG path data straight into offset-path via the path() function, then animate offset-distance from 0% to 100% to move an element along it. Add offset-rotate: auto and the element automatically turns to face the direction it's travelling.
Used for loading indicators that trace an elaborate route, an icon flying along a curve, or a character moving along a map in a scrollytelling piece.
The demo shows the same idea with SVG's animateMotion — the dashed line is the actual path, and the dot travels along it.
When to use
For a straight move, transform is enough. Reach for motion-path only when the path itself is part of the story.