Example:
* "They wore the same dress."
In this sentence, "same" modifies the noun "dress," describing what kind of dress it is.
However, "same" can also be used as a pronoun, especially in phrases like "the same as."
Example:
* "My cat is the same as yours."
Here, "same" refers to the cat, replacing the noun "cat" with a pronoun.