Headspace is the distance between the surface of food and the underside of the lid. Leaving the specified amount of headspace in a jar is important to assure a vacuum seal. If too little headspace is allowed the food may expand and bubble out when air is being forced out from under the lid during processing. The bubbling food may leave a deposit on the rim of the jar or the seal of the lid and prevent the jar from sealing properly. If too much headspace is allowed, the food at the top is likely to discolor. Also, the jar may not seal properly because there will not be enough processing time to drive all the air out of the jar.