Simplify the following text for a Grade 7 native English-speaking person.
Original: A pacemaker ( or artificial pacemaker , so as not to be confused with the heart 's natural pacemaker ) is a medical device which uses electrical impulses , delivered by electrodes contacting the heart muscles , to regulate the beating of the heart .
Simplified: A pacemaker is a device that helps to regulate your heart .