There are several tricks for reducing the acidity that tomato brings to sauces. One of the best known is adding sugar, which, far from neutralizing the acidity chemically, simply masks its flavor by adding sweetness.
Baking soda, on the other hand, works through a chemical reaction that neutralizes some of the acids in tomato, thanks to its composition and alkaline nature.