Baking soda can kill and eliminate weeds, but it’s not the best solution for permanently keeping them away.
However, baking soda does draw water from the plant cells since it’s an absorbent material, and the foliage becomes dry (source). This will cause weeds to dry out, making baking soda a suitable eco-friendly solution for weed control.