Answer: line
In geometry, a line is completely straight and stretches in both directions infinitely. In contrast, a line segment is a line that doesn't go on forever but rather has a fixed set length. A line segment has two endpoints. A ray has only one endpoint and the other side extends forever.