But if you have to breathe in infected air, doing so with your nose is far better than your mouth, since your nasal cavity has thicker membranes and a lot of mucus and hairs to catch particles, whereas through your mouth the particles are going straight into your lungs.
In fact, that effect might be so significant evolutionationary that it is the reason we have a seperate nose and mouth, rather than combining the two.