The difference between a doctor and an internist is that the internist works with adults and focuses exclusively on adult medicine.
A internist is a doctor but usually only works on adults while the doctor or family doctor works on both adults and teens and children.
So that's really the only difference as an adult will usually see an internist especially if they are alone and have no other family.
Sometimes a family may see the same doctor as they want to have a family doctor.
Then some kids go to a pediatrician which is a doctor that focuses on kids and kids medicine.