Conversation so far:
pacemaker is related to which part of body
A pacemaker is a small device that's placed in the chest or abdomen.

Question: What is the function of the device
Self-contained rewrite: what is the function of a pacemaker device