Internal medicine is the branch of medicine that deals with the diagnosis, treatment, and prevention…