A compound 'X' of sodium is commonly used in the kitchen for making crispy fried snacks. It is also used to relieve acidity in stomach. Identify this 'X'. Write its chemical formula and the reactions taking place at the time of heating this compound.