In the preparation of HBr or HI,NaX(X = Br,I) is treated with H3PO4 and not by conc.H2SO4 because
HBr and HI further get oxidised with H2SO4 and release Br2 and I2 respectively.Thus H3PO4 is used to prepare HBr, HI from NaBr and NaI
H3PO4 is a non oxidizing acid.