Here's why:
* It names a person or thing: A vendor is a person or entity that sells goods or services.
* Example: "The street vendor sold delicious tacos."
However, "vendor" can sometimes function as an adjective, meaning "relating to a vendor."
* Example: "The vendor booth offered a variety of souvenirs."
It's important to consider the context to determine the correct part of speech.