We went to high school together. I haven’t seen her for years, though.
Here the word though is an adverb, I was just wondering if someone could tell me why it is considered an adverb in this instance and also what it is modifying.
It’s a sentence adverb:
American Heritage Dictionary “sentence adverb”
“An adverb or adverbial phrase that modifies an entire sentence, especially in establishing the attitude of the speaker or writer, as thankfully in
Thankfully, there was enough for everyone.“