PID controller compares setpoint and actual value of the Process Variable (PV) and generates manipulated variable (MV) as output.