The cardiovascular system includes the heart and blood vessels that transport blood throughout the body. The heart has three layers - the inner endocardium, middle muscular myocardium, and outer epicardium. The heart is divided into four chambers by a septum, with the right atrium and ventricle pumping deoxygenated blood to the lungs and the left atrium and ventricle pumping oxygenated blood to the rest of the body. Valves control blood flow between the chambers, opening and closing through the pumping cycle to maintain one-way blood flow.