What is rev matching for?

rev matching is to keep the rpm high while your shifting through gears.
clutch, gas, shift,
this technique can be found in the drifting seen.