No. Gas and acidity are two different common discomforts. Acidity is caused when improper functioning of the valve (sphincter) is located at the junction of the stomach and food pipe. As a result, stomach acid backflows and enters the upper part of the food pipe, causing heartburn. On the other hand, gas is the result of the digestion of food and drinks, eliminating gases like carbon dioxide, hydrogen, nitrogen, methane, etc., from the body.