What the Heart Does
The heart receives blood returning to it and sends it to the lungs and the rest of the body.
While the right side of the heart carries blood returning from the body to the lungs, the left side distributes blood coming from the lungs back to the body. Its valves maintain the direction of flow. Its electrical system coordinates the sequence of contractions; as the body's needs change, the rate of the rhythm and the strength of contractions also change.
The heart does not do this alone. Blood vessels, lungs, blood, the nervous system, hormones, and the rest of the body are all part of the same circulation.