Here's why:
* It describes a noun: It tells us something about the noun it modifies. For example, "an inexhaustible supply of energy" or "an inexhaustible well of knowledge."
* It answers the question "what kind?": "Inexhaustible" tells us what kind of supply or well it is.
Let me know if you have any other words you'd like to identify the part of speech for!