Select the Pencil tool from the Tools palette to draw a free-form path. Illustrator creates anchor points as you draw. Draw a line with great precision by using the Pen tool. Click where you want the line to begin. Release the cursor and click where you want the second point of the line to appear.
Illustrator fills in the space between the two points with a straight line.
Draw a curved line with the Pen tool by dragging the tool instead of releasing after creating the first anchor point. The pointer pulls one of two direction points. Drag in the direction that you want the curve to be drawn. Draw squares, circles, polygons, eclipses and stars using the appropriate tools on the Tools palette. The place where a path ends is called the endpoint.