Use as an adverb.. Painted is the verb.
Formal and informal<span> language serve different purposes. The tone, the choice of words and the way the words are put together vary </span>between<span> the two styles. </span>Formal<span>language is less personal than </span>informal<span> language. It is used when writing for professional or academic purposes like university assignments.</span>
D is the sentence where it is used as an interjection. All the other answers use it as a pronoun.
Hope this helps!
I think that the awnser is : " B. Adverb" but not so sure