Most sodium nitrate is used in fertilizers, where it supplies a water soluble form of nitrogen.
Its use, which is mainly outside of high-income countries, is attractive since it does not alter the pH of the soil.