In fetal circulation, the placenta provides oxygen and nutrients to the fetus, so the lungs are not used for oxygen exchange - instead, a bypass called the ductus arteriosus shunts blood away from the lungs. After birth, the lungs take over oxygen exchange, the ductus arteriosus closes, and the foramen ovale between the atria closes, redirecting blood flow through the heart to support pulmonary circulation.