In common language it is a long thin mark or boundary.
In Geometry a line:
• is straight (no bends),
• has no thickness,
• and extends infinitely in both directions (no ends).
One end makes it a "Ray", and two ends makes it a "Line Segment".
Try moving points A and B:
../geometry/images/geom-line.js?mode=line