The circuit through the lungs where the deoxygenated blood is oxygenated before it enters the heart is called the
Pulmonary circulation
In pulmonary circulation, oxygen-deficient blood is pumped from the heart to the lungs and oxygenated blood returns back to the heart from the lungs.