Line: A line is a straight path of points that goes on forever in both directions. It has no endpoints.
A line is endlessβyou can always imagine it going farther in both directions.
Line Segment: A line segment is a part of a line that has two endpoints. It does not go on forever.
A line segment is the shortest distance between two points.
Ray: A ray is a part of a line that starts at one endpoint and goes on forever in one direction.
A ray always has a starting point but never an ending point.
Although they all look like straight paths, lines, line segments, and rays are different because of their endpoints.
Always look at the endpoints (or arrows) to decide whether it is a line, segment, or ray.