👉 A segment in geometry is a part of a line that has two endpoints. It can be defined as a line segment that connects two points on the line, and it extends from one endpoint to the other. The endpoints are called ends or ends of the segment. A segment is not a straight line, but rather an infinite collection of points extending infinitely in both directions. For example, consider a triangle ABC with vertices at A(0, 0), B(2, 0), and C