Answer:
Line segment AB
Step-by-step explanation:
A line goes without end in both directions.
A ray has 1 endpoint and goes without end in 1 direction.
A line segment has 2 endpoints.