Each cell in your body requires oxygen in order to obtain energy. Without the energy for these life functions, your individual cells would die.
Carbon dioxide gas is a waste product of cells and is toxic if allowed to accumulate in your cells.
If a lack of oxygen or too much carbon dioxide causes enough cells to die, the entire organism would die.
These critical gases have to be transported through the entire body. This is why blood vessels are needed. And the heart is needed to pump the blood and its gases through the vessels. Blood needs to circulate to the cells where it drops off oxygen and picks up the carbon dioxide waste. From there it makes its way to through the body to the lungs where it can come in contact with outside air.
The lungs are the place where gas exchange with air takes
place (in fish, gills serve the same purpose). Oxygen-deficient blood
coming from cells picks up oxygen from the air in the lungs. At
the same time, the surplus carbon dioxide is given off to outside air.