In most uses, "niche" is a noun. Nouns refer to a person, place, or thing. A niche is a thing.
However, there are occasions when "niche" gets used as an adjective. In the phrase "niche marketing," "niche" modifies :marketing," so it's an adjective in that usage.