What exactly does this diode do?

I am not claiming anything, just a quote.

The problem can arise when an inductive load is used at the drain side of the device, and during the MOSFET switch OFF periods the inductor's reverse EMF passing through the MOSFET body diode becomes too high, causing a sudden rise in the MOSFET's junction temperatures, and its breakdown.