Is what a pronoun or adjective?

So demonstrative pronouns are the same pronouns that are also used for demonstrative adjectives - this, that, these and those. How do you tell the difference? The difference is in the sentence structure. The demonstative pronoun takes the place of the noun phrase.

For More Information Please Refer: https://grammar.yourdictionary.com/parts-of-speech/pronouns/what-is-a-demonstrative-pronoun.html