What makes a line a line
A line can pass through many points. We often name it with two capital letters, such as line AB or line BA. The order does not change the line because both names describe the same straight path. The named points are places on the line, not the ends of the line. There are no endpoints unless the problem gives us a different figure, such as a segment or a ray.
It helps to compare a line with a road. A road may disappear behind a hill or beyond the edge of a map, but that does not mean the road ends there. In the same way, the edges of the diagram do not create endpoints for a mathematical line. The arrowheads are a reminder to keep imagining the path beyond the picture.
Lines are useful because they let us describe relationships between points and figures. Two lines may cross at one point, stay the same distance apart, or lie on top of one another. A line can also contain a segment, a ray, or several points. When you learn angles, polygons, coordinates, and proofs, the line is often the quiet path that holds the rest of the picture together.
When you read a line on a coordinate plane, look at its direction and at the points it passes through. You may later use those points to find slope or write an equation. The arithmetic is easier when you first respect the picture: a line is straight, it extends both ways, and it is not limited to the two dots that happen to be labeled.