Canning is a food preservation method that involves sealing food in airtight containers and heating them to destroy microorganisms and enzymes that can cause spoilage. This process helps to prevent microbial growth, extending the shelf life of food products while maintaining their nutritional value and flavor.