Canning is a method of preserving food in which the food contents are processed and sealed in an airtight container.