The heart has four chambers. Under normal conditions, the valves permit blood to flow in only one direction. Blood flow occurs only when there's a difference in pressure across the valves that causes them to open. The heart pumps blood to the lungs and to all the body's tissues by a sequence of highly organized contractions of its four chambers. This blood carries little oxygen and lots of carbon dioxide, because it's returning from the body's tissues, where much of the oxygen was removed and the carbon dioxide added.
Venous blood is darker in color than arterial blood because of the difference in dissolved gases.
While the heart is relaxed, venous blood flows through the open tricuspid valve to fill the right ventricle. An electrical signal starts the heartbeat by causing the atria to contract. Shortly after the atrium contracts, the right ventricle contracts. As this occurs, the tricuspid valve closes and the partially deoxygenated blood is pumped through the pulmonary valve, into the pulmonary artery and on to the lunus. In the lungs the blood gives up its carbon dioxide and gets oxygen before returning to the left atrium.