A line is a sequence of one or more stops, and some associated data like fares and line duration. Trains can follow lines by setting them in auto mode or by creating orders.