Adding acid ensures the pH level is safe for water bath canning, reducing the risk of botulism.