Natural preservatives function by inhibiting the growth of microorganisms such as bacteria, fungi, and yeast, which can cause spoilage and foodborne illnesses. They achieve this through various mechanisms such as altering the pH, reducing moisture content, or providing antimicrobial properties.