Any component that relies on an electromagnet or coil of wire for its operation will be inductive, that is the nature of coils of wire. Common examples are relays, solenoid and most types of motor.
It is standard practice to put a ‘flyback’ diode across any inductive load in order to catch the back emf from the inductor when the current is interrupted. This requirement is usually taken at face value without being backed up by any kind of test results or evidence. This tutorial provides the evidence.
This is the test circuit without a a flyback diode. The 2 test points are where an oscilloscope was attached, the voltage test point (yellow trace) measures the voltage at the top of the inductor. The current test point (blue trace) measures the voltage across the resistor and therefore give an indication of the current through the inductor.
This is what happens when the current through the inductor is interrupted. This oscilloscope trace has the time base at 4ms per division for comparison to the trace in reply #1 with a diode in circuit.
This is when the current is being interrupted but this time the oscilloscope timebase is set to 80μs per division to make it clearer. Note that the voltage (yellow) is off the scale, which means it is well in excess of 200V.
You might ask why the current trace (blue) is also off the scale. First note that the input for the blue trace is set at 200mV per division, not 50V per division, so the blue trace being off the scale does not represent anything like what the yellow trace represents. That said I think it is because of the parasitic inductance in the test circuit allowing a high voltage to develop across the test resistance at the high frequencies that are present.
Note that not only is this circuit producing high voltages, it is also producing a lot of high frequency electrical noise.
Here’s a better trace of just the high voltages and electrical noise, note that the voltage peaks are in excess of -300V.