First, let's start with a line segment. A line segment is just a line with two end points. A polygon is three or more line segments connected together--like a square. In other words, a polygon is a closed shape with straight sides.