Two gases are involved in breathing. The lungs get rid of carbon dioxide through exhalation and bring in oxygen through inhalation.