The obvious lines created by the railroad tracks in this image move in a certain direction. The viewer's eye is led along these lines from the foreground of the picture to the background.
In this image, the line created by the peak of these sand dunes defines their shape. It meanders back and forth, creating curves and sharp edges in the sand.