In great great grandma's time, when freezers were not around, she made sure that the foods that were cooked for her family were preserved either in cold cellars and storage, or cooked in such a manner, that there was no question of it spoiling. That is when she used salt, sugar, vinegar and herbs to preserve the food content.