It is used for etching of glass, preservation of food, in printing textile, and as mothproofing agent. It is used in chemical analysis and in brewing. It is used in the synthesis of NaHoF and NaEuF, which are important in solid state lasers as well as photoluminescence. The fluoride ion is used as a base and nucleophile in organic synthesis. Ammonium fluoride providee safe deprotection strategy for the tert-butyldimethylsilyl (TBS) group during RNA synthesis.