Some people like their margaritas with a salted rim and others without, but salt is actually a necessary ingredient in the perfect margarita. We all know salt is used in cooking because it heightens flavor. Well that’s exactly what it does in the margarita. The salt balances the drink by toning down the lime juice’s acidity and bumping up the noticeability of sweetness. It’s a good idea to salt only half the cocktail glass so that the drinker can test the flavor from each side.