Heater resistor?

I’ll pull the glovebox liner so I can have better access to the resistor etc for testing.
Dumb question here fellas but for the sake of learning, what exactly does the heater resistor do?
I’m assuming the 2 wires in the resistor have different resistance to deliver “low” and “high” speed power to the fan motor?