Definition: In mathematics, a line is a straight segment that extends endlessly without end. The concept of "longlines" refers to lines that extend infinitely in both directions or in one direction and are not part of any other geometric shape. These types of lines are also known as infinite lines because they do not have any specific endpoints or vertices.