# Line segment

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 ${\displaystyle {\overline {AB}}}$).[1] Unlike a line, a line segment does not extend beyond the endpoints.[2]