So I couldnt find baking soda anywhere, went to a shop and the guy gave me citric acid saying its the same thing? I bought it anyway but I want to know if its same because I use baking soda in face masks as well.
No, those are absolutely not the same thing. They're completely different compounds: baking soda is sodium bicarbonate (NaHCO3), and citric acid is C6H8O7. And they're not even similar chemically: baking soda is a base, and citric acid is (surprise) an acid.
Also, to help out in the future, Google is actually really good for questions like this. If you search for baking soda or citric acid, then along with the usual web results you should get a knowledge panel with a brief description, chemical formula, various other simple facts, and a link to the Wikipedia page.