How it works?
Sensors consist of thermistors not only sense temperature but also control the speed. Below I have shared various examples to give you clear idea about it. In the embedded video, you can see yourself about its working.
What is Fan Control ?
How to make and use temperature controlled fan
PC Temperature Monitoring and Control Unit
Download Source Code and PCB
Temperature controller fan