* Adjective: When used to describe something as being nothing more than something else, like "a mere child" or "a mere suggestion".
* Adverb: When used to emphasize the smallness or insignificance of something, like "He was mere minutes away" or "They are mere shadows of their former selves".
It's important to look at the context of the sentence to determine which part of speech it is.