Answer:
D) a part of a line that has two endpoints
Explanation:
A ray has one end point and extends on one side infinitely .A line extends both sides indefinitely.
A line segment is a part of line which has two end points .It has a definite length .
Among all the options given option D ) that is line segment is a part of line that has two endpoints is the right option.