Lactic acid is used to help preserve pickles and give them their tart flavor.