Here's why:
* It describes a noun: It tells us something about a person, place, or thing. For example, "The hostile environment made it difficult to work."
* It can be modified by adverbs: You can say "extremely hostile," "slightly hostile," etc.
Let me know if you have other words you'd like to figure out the part of speech for!