For instance, if you were to take a line segment and translate it along a coplanar path, then you'd get a plane.
If the path is cyclic and on that path you rotate the line segment on the axis perpendicular to the direction of the line segment, then you'd get the mobius strip.
Assuming you don't do anything too crazy with a line (like moving it along a space-filling curve), you will get a (part of) ruled surface. Two examples from Wikipedia: helicoid and hyperboloid.