which body system is responsible for exchange of oxygen and carbon dioxide between the body and the atmosphere?