A blower motor resistor is responsible for controlling the fan speed with the help of mechanical controls. It is made up of multiple resistors with different resistance values, and a person can alter the fan speed by selecting one of these resistors.
Blower motor resistors are among those parts that get damaged easily because of overheating but can be replaced without much hassle.