Why must blood be pumped to the lungs before it is pumped to the rest of the body

You want the hemoglobin to be oxygenated with the fresh O2 from the air and CO2 to be exhaled so that the fresh oxygenated blood can get oxygen to the rest of the body parts.