The cardiovascular system functions to transport blood and nutrients throughout the body while removing waste. It is composed of the heart, which pumps blood through a closed system of arteries, capillaries and veins. The heart has four chambers and uses electrical conduction pathways to generate rhythmic contractions. Blood flows through two circuits - systemic circulation which oxygenates tissues, and pulmonary circulation which oxygenates blood in the lungs. The cardiovascular system is regulated through neural and hormonal mechanisms to maintain blood pressure and meet the body's needs.