respiration affects the cardiac cycle by varying the intrapleural pressure, the pressure between the thoracic wall and the lungs. since the heart resides in the thoracic cavity between the lungs, the partial pressure of inhaling and exhaling greatly influence the pressure on the vena cava and the filling of the right atrium. this effect is often referred to as normal sinus arrhythmia.