> Cardiac activity can be divided into two phases: systole, when the heart muscle contracts and pumps out blood, followed by diastole, when it relaxes and refills with blood.
Respiration, acting through the sympathetic (fight or flight) nervous system (breathing in) and the parasympathetic (feed and breed) nervous system (breathing out) also impacts the heart as measured through Heart Rate Variability. Like many systems in biology, I suspect there is a network of feedback loops at play and they act in both directions.