Potassium sorbate and sodium benzoate are both salts of weak acids that only preserve well at a low pH — above about pH 5.5 they lose most of their effect. Potassium sorbate is strongest against mold and yeast; sodium benzoate covers some bacteria as well as fungi. Neither is fully broad-spectrum alone, which is why they're often used together or with a booster, and always confirmed with a preservative efficacy test.