Headspace is the unfilled space left between the food in a jar and the jar's lid. This space is purposely left unfilled to provide room for food to expand during processing and to allow a strong vacuum seal to form as the jars cool.
Since different foods require different amounts of headspace, it's best to follow the instructions set forth in the recipe that you're using.

