This article will show you how to create a path in Adobe Illustrator.
Steps

Step 1. Use the Pen tool or Pencil tool to draw a line

Step 2. Click on the line and go to Object> Path> Outline Stroke
You will see how the line becomes an outline.

Step 3. You can set the color of both the outline and the inner part

Step 4. To create an outline from the text, use the Type Tool to create the text

Step 5. Go to Type> Create Outlines

Step 6. If the font has a stroke weight, you need to take more steps than a regular font

Step 7. After creating the outline, you will have a font with no stroke

Step 8. Click on the font again and go to Object> Path> Outline Stroke
You will end up with a stroked path, but the path will be double.
