A line is infinite, it has no beginning or end. it's length is infinite.
It can only be named by the equation or a variation of y=mx+c where m is the gradient and c is the y intercept
A line segment has a specific start and end, and a length.
It can be expressed giving two sets of coordinates, (the start and finish)