You’ll probably have to pay off the $8,000 you owe on it before you can sell it.
You’ll need a clear title so the new owner can register/title it in their name.
Me personally, I wouldn’t buy a car that someone else owes money on.
I’d be afraid you wouldn’t pay the loan off and that the car would be repo’d.