A part of a line or curve between two points.