A line segment is a part of a line that is bounded by two distinct endpoints. It consists of all the points on a line that are between two given points.
A line segment is often named by its two endpoints. For example, if the endpoints are A and B, the line segment would be denoted as AB or BA.
Examples of line segments include the sides of a triangle, the edges of a rectangle, and the spokes of a bicycle wheel.