I remove the foam during homemade jam-making for a better-looking jar presentation, but it's not necessary to remove it all. The foam doesn't affect the taste, but rather it's about creating a clear top when the jar is opened.