Ancient civilizations used various methods to preserve food, such as drying, smoking, fermenting, pickling, and using natural preservatives like salt and vinegar.