The primary function of this mechanism is the inhalation of oxygen-rich air into the lungs.