Nisin serves as a preservative to extend shelf-life of food products. It is often used in processed meat, cheese, and beverages.