Informally, a line segment is a set of all points between any two given points.
A line segment is a part of a line that is bounded by two points on the line, called its endpoints.