A geometric line is a straight line that extends to infinity in both directions. This distinguishes it from the segment or the ray, which end et some point, and also from the curve or polygon, which need not be straight.
There are different ways how a line may be presented. Each comes with its own benefits and drawbacks.