A line segment can be thought of as part of a line.
The ends of a line segment are the endpoints, and the segment is named using those points. A and B are the endpoints of line segment AB below.