Difference Between Line And Line Segment. The key difference between line and line segment is a line is extended in both direction infinitely but a line segment has two endpoints. ... A line is a direct geometric shape that expands in both the courses but a line segment has two defined endpoints.