Functions of the heart :
The main function of heart is to pump blood to various parts of the body through blood
vessels.
The heart receives blood from the veins and pumps it to arteries. During relaxation both the atria get filled with blood. The left atrium is filled with oxygenated blood and right atrium gets filled with deoxygenated blood collected from different parts of the body.
When atria contracts, the valves open. As a result of this the oxygenated blood enters from the left atrium into the left ventricle while deoxygenated blood from right atrium enters into right ventricle.
When the ventricles contract, the valves get closed. Owing to it, the oxygenated blood is supplied to different parts of the body and deoxygenated blood is carried to lungs for purification.