During the test, the patient exercises on a treadmill or pedals a stationary bicycle while the physician monitors the heart's electrical activity.
(the physician; monitors; the heart's electrical activity)
the physician
monitors
the heart's electrical activity