Water bathing and pressure canning are two common ways to preserve foods by canning. These techniques use heat processing to preserve foods, and which technique you use depends on the acidity of the food.