vocabulary is anykind of words. "is", "buy", "sit", "dog", "he", "by" are all vocabularies, so yes, they do appear in sentences. Basically, every word in here are vocabularies. To learn more vocabularies, I suggest you to read, you can find some english songs that you like and sing along with the lyrics, and you can also watch english movies and so on.