what is the difference between a line and a polyline?
The first, it's important to note the difference between a line or line segment, and a polyline. A line is simply a separate line or segment that is not joined to another line. While a Polyline indicates two or more lines have been joined.