Can someone help? It can be 3-5 sentences just compare and contrast them.

A line segment has two endpoints. It contains these endpoints and all the points of the line between them. You can measure the length of a segment, but not of a line. A ray is a part of a line that has one endpoint and goes on infinitely in only one direction.
I hope this helps! Brainliest would be appreciated.
line is cool segment is cool ray is cool btw the other persons answer is right