You can also apply brush strokes to borders. For example, grab the square tool and draw a square on your document. Change the color fill to something. Then click a brush to apply to the border.
That’s how you use the brush tool in Adobe Illustrator. You can create many different things using the brush tool. Open up your brush libraries and experiment with the different brushes.