What is the function of the lungs?

What is the function of the lungs?

پھیپھڑوں کا کام کیا ہے؟
Explanation

The main function of the lungs is the process of gas exchange called respiration (or breathing).

In respiration, oxygen from incoming air enters the blood, and carbon dioxide, a waste gas from the metabolism, leaves the blood.