what is a line a line segment and a ray
a line is a straight set of points that extend in opposite directions without ending.
a ray is a part of line that has one end point and extends in one direction without ending.
a line segment is a part of line between two end points.
hope this helps you.
cheers!!