A line segment is defined as a part of a straight line connecting two points called the endpoints, option D.
---------------------------------
For more on line segments and endpoints, you can check a similar problem at https://brainly.com/question/24778489