The heart acts like a pump, contracting and relaxing to push blood through the arteries and veins of your circulatory system.