The Line Segment tool is used to draw one straight line segment at a time. The line segments will not be connected to each other.
TIP: Press Shift while dragging to create a square. Press Alt (Windows) Option (Mac OS) while dragging will draw the shape from the centre.