List the structures of the respiratory system in the order that they function for inhalation. Briefly describe each structure's function.