In summary, an attending physician is a fully credentialed doctor who has completed their residency training and can practice medicine independently, while a resident is a doctor who has graduated from medical school and is seeking additional training in a specific field of interest. An attending physician supervises residents and has a higher average salary.