MOSFET Trouble

Why did you recommend a series resistor to the gate

So during high speed switching, the mosfet can burn up faster / sooner.