It is a subset of a line with two distinct endpoint.which one is it?

A.midpoint
B. bisector
C.ray
D.line segment​