It is a well-known insecticide to control termites, fleas, cockroaches, and many other insects. Boric acid is also used as a flame retardant, neutron absorber or as a precursor to produce other chemical compounds. Borax. Borax is a mineral which is a sodium salt of a boron containing compound.