The mechanism of baking powder is acid-base neutralization. As long as it meets water and a certain temperature, it will react and release carbon dioxide gas, thus making food frothy and fluffy.
Tatar powder is usually put into cakes, and the main purpose of cake making is to help protein to disperse and neutralize the alkalinity of protein, because protein is very alkaline.