The correct answer is "a part of a line between two endpoints." This definition accurately describes a line segment, which is a portion of a line that has two distinct endpoints. Unlike a line, which extends infinitely in both directions, a line segment has a finite length and is bounded by its two endpoints.