Some types of fresh herbs, such as cilantro, have very thin stems which are perfectly edible and don't taste stringy. With fresh basil, you can use the thinner stalks if you wish, but I'd recommend discarding any thicker stems since they will be woody. Thin, young basil stems taste good and have a pleasant texture, while older ones are a little bitter, so you should discard those.