a group of cells in the right atrium wall act as a pacemaker controlling your resting heart rate
produce a small electrical impulse which spreads into surrounding muscle cells causing contraction
an artificial pacemaker is used to control the heartbeat if the natural cells dont work properly e.g. irregular heartbeat. it is implanted under the skin with a wire going to the heart it produces an electrical current keeping the heart beat regular