During inhalation, View Available Hint(s) During inhalation, oxygen molecules move into the lungs, and carbon dioxide molecules move out of the lungs. the volume of the thoracic cavity decreases. air moves up the trachea. the diaphragm relaxes. the diaphragm and rib muscles contract.