Complete the passage to describe the function of the heart.

The pumping of the heart involves the alternate contraction and relaxation of the chambers of the heart. The upper chambers of the heart are called ______, and the lower chambers of the heart are called _______

The upper chambers of the heart are called atria, and the lower chambers of the heart are called ventricles. The atria receive blood from the body and lungs, while the ventricles pump the blood out to the rest of the body. This coordinated pumping action ensures that oxygenated blood is delivered to all parts of the body and deoxygenated blood is sent to the lungs for reoxygenation.Overall, the main function of the heart is to circulate blood, carrying essential nutrients and oxygen to the body's tissues and organs while removing waste products such as carbon dioxide.