The following are the description of the line, line segment, and ray.
Line: The line is a single-dimensional figure, which has a length but no width. It has the direct path of points, which runs to the next without stopping in both directions.
Line Segment: It is the portion of a line is called a segment. It has two end-points, which includes the endpoints for all the positions between these. The length of this section, can't be determined.
Ray: The ray would be a straight path for one destination and moves one way.