Here's why:
* It describes a noun: It tells us something about the noun it modifies. For example, "nonperishable food" or "nonperishable goods."
* It doesn't act as a verb, adverb, or pronoun: It doesn't indicate an action, modify a verb, or stand in for a noun.
Let me know if you have any other words you'd like to know the part of speech for!