It's possible to use several things but most are based around citric acid. Products such as "sour salt" (crystallised citric acid) are available but it's likely confectioners use a mix of sugar,...
It is famous in almost any Chinese restaurant But it is most likely more famous in the US than in China. A lot of the things we think are Chinese food are not things they eat in China.