In geometry, a line segment is a part of a line that is bounded by two distinct end points, and contains every point on the line that is between its endpoints. In geometry, a line segment is often denoted using a line above the symbols for the two endpoints (such as AB). Examples of line segments include the sides of a triangle or square.

A line segment is a connected, non-empty set. A pair of line segments can be any one of the following: intersecting, parallel, skew, or none of these. The last possibility is a way that line segments differ from lines: if two nonparallel lines are in the same Euclidean plane then they must cross each other, but that need not be true of segments.

More Info: en.wikipedia.org