What happens to finances and belongings after?

If someone has a car with a car loan out and that person suddenly passes, what happens to the car and the money still owed?