The system for taking in oxygen and giving off carbon dioxide; in terrestrial animals this is accomplished by breathing.