Pathogens tend to thrive in an acidic environment, and the immune system steps up to prevent them from spreading beyond the digestive system.