Many bacteria and viruses have specific pH ranges within which they can survive and multiply. Acidic pH can either inhibit or promote the growth of these microorganisms. For example, Helicobacter pylori, the bacterium responsible for peptic ulcers, thrives in the acidic environment of the stomach. On the other hand, the acidic pH can inhibit the growth of other pathogens like Salmonella and Escherichia coli.