A segment is a part or portion of something that is separated from the rest by natural boundaries, such as an organic division. In mathematics and geometry, it refers to a continuous portion of a curve or line, defined by its endpoints. In linguistics, it can refer to a group of words within a sentence that expresses a complete thought.