In geometry, a line extends infinitely in both directions.
A line is different from a ray (which extends from a point toward infinity) and a line segment (which extends between two points). Lines are depicted with arrow heads on both ends to distinguish them from rays and line segments.