* Noun: This is the most common usage. It refers to excessive pride in or admiration of one's own appearance or achievements.
* Example: "He was consumed by vanity."
* Adjective: It can describe something that is related to or characterized by vanity.
* Example: "She had a vanity mirror on her dresser."
* Verb: It is rarely used as a verb, but it means to make something vain or useless.
* Example: "The politician tried to vanity the accusations against him."
So, without context, it's most likely a noun.