There are many ways in how you can apply a stroke in Adobe Illustrator. The options are really very extended. Strokes are used when you want to apply a brush, but you can also add a gradient or a pattern to a stroke. I often use the dashed and dotted stroke styles, and play with the cap & corner options, and gap & dash size, I add arrowheads, change the profile...