A doctor is performing a surgery.
A doctor in the operating room works on a patient.