When the sodium alginate meets the calcium chloride, the calcium displaces the sodium ... These properties make it a useful thickener for foods like ice cream, yogurt, and fruit fillings for pastries.