In geometry, a line segment is a line between two different endpoints. It is represented by a line above the symbols of the two endpoints (such as formula_1). Unlike a line, a line segment does not extend beyond the endpoints.