The biological system that introduces respiratory gases to the interior and performs gas exchange. In humans and other mammals, the features of the respiratory system include airways, lungs, and the respiratory muscles. Other animals, such as insects, have respiratory systems with very simple features, and in amphibians even the skin plays a vital role in gas exchange.