Answer: D. the segment has two endpoints.
Explanation:
A line segment refers to a part of a line which is bounded by two distinct end points. The line segment is part of the line which helps in the connection of two points that are considered to be the endpoints.
A line segment is the distance between the two points and which one measure.
They can be used to form a side of a polygon because they have a defined length.