Infectious disease doctors diagnose, treat, and prevent diseases that can be transmitted from one person to another. They suggest tests, interpret the test results, and prescribe medicines, but do not perform surgeries.