ISHA interview question

What is the difference between ecg and pace maker