Ant sting releases methanoic acid and its chemical formula is HCOOH. If we rub baking soda (Which is basic in nature) on the affected area, it can give relief because the base will neutralize the effect of acid.