They do not stop it but the mucus and motion of the cillia remove said microbes and dust should they get into the lungs.
Lungs
The slimy secretions in the lungs that protect it from dust and infectious agents are called mucus. Mucus traps particles like dust and pathogens, preventing them from entering deeper into the lungs. The cilia in the respiratory tract then move the mucus upwards so it can be expelled from the body.
The mucus in the nasal cavity is produced by specialized cells called goblet cells and mucous glands in the nasal passages. It helps trap dust, allergens, and microbes to prevent them from entering the lungs, and also helps to moisten and warm the air we breathe.
The ciliated cells has tiny hairs on it, called cilia, which sweep mucus, which is produced by goblet cells, up the airway. The mucus traps dirt particles and stop them from entering the lungs and causing infection. The ciliated cell therefore sweeps mucus up the airway where it is either swallowed or coughed out.
It helps to filter out foreign particles, such as things that can cause disease. Cold air lowers your lungs temperature, but the mucus helps regulate your lungs temperatue by warming the air entering your lungs.
well mucus and hairs in one. when we breath in through our nose the epithiliated cells and mucus trap any pathagons that are in our nasal passages. then when we blow our noses the "snot" contains the pathagons and then we carry on :)
The cilia on their surface trap dust and microbes, then pass the trapped substances along with mucus to the throat, where they can then be swallowed. This then protects the lungs.
The blood leaving the lungs is loaded with oxygen, while blood entering the lungs is about to get oxygen from the respiratory system.
A specialized function shared by the many cells lining the lungs and the lumen of the gut is increased exchange surface provided by their membranes. Interstitial fluid provides for the exchange of materials between blood and body cells.
After entering the nose or mouth, oxygen travels down the windpipe (trachea) and then into the lungs. In the lungs, oxygen is exchanged for carbon dioxide in the alveoli, small air sacs where oxygen is taken up by red blood cells and transported to the rest of the body.
Aspiration is the medical term meaning food or liquid entering the lungs.
Mucus is a defense against infection as it hepls to catch foreign substances in the airways and other places. (I'm going to use the respiratory system becasue I know the most about it) Mucus is secreted by goblet cells in the lining of the aesophagus, where is is pushed up and out by little cilliated epithelium cells. The mucous acts as an impermeable, sticky barrier - imagine it to be like honey. The mucus helps to catch substances that you have breathed in, such as dust, pathogens, and pollen. The mucus stops this from entering the lungs, and particularly for the pathogens, it stops them from entering the bloodstream. The cillia cells then move the mucous up and out of the aesophagus and into the stomach, where they are killed by your stomach acids. Of course, another way to get rid of it is to cough...