A part of a line with endpoint on both ends is a(n);
im pretty sure the answer is ray. :)
I line with endpoints on both ends is a line segment.