Lemon juice actually contains pectin, meaning it helps thicken jam. Lemon juice helps give jam that gel-like consistency due to the pectin found in this fruit.