nitrating mixture is obtained by mixing concentrated HNO3 and concentrated H2SO4. The role of the latter - H2SO4 is:
To force HNO3 to act as a base.
To suppress dissociation of HNO3.
To produce NO+2 ions.
H2SO4 is a medium only; it is a spectator and doesn't partake in the reaction!
H2SO4+HNO3⇌H2O+NO2+HSO−4
H2O+NO2+HSO−4⇌H2O+NO+2