The skin and mucous membranes act as the first line of defense against pathogens by rinsing away invaders through sweating and tears, expelling pathogens through sneezing and coughing, and using lysozyme and pH levels to kill or inhibit the growth of microbes. The microflora of the skin and mucous membranes also help defend against infection by occupying space that would otherwise be used by pathogens.