An important example of thermal processing is canning. Canning is a method of food preservation where the food is applied high heat in the middle of a completely sealed metal container. This is done to protect the food from any kind of decay or spoilage. If the food is properly canned, the food will be edible for a long time without opening the lid of the container. It can last up to two or three years.