The heart is indeed controlled by the autonomic nervous system, just like your breathing rate. However, the heart can actually produce its own electrical stimulation and heart beat through the Sinoatrial node or simply the SA node. All of the heart's cells can produce electrical stimulation, but the SA node initiates this stimulation with regularity. For this reason, it is coined as the "pacemaker" of the heart.