A controller compares a controlled value to a desired value and corrects any deviation. Controllers include proportional (P), proportional-derivative (PD), proportional-integral (PI), and proportional-integral-derivative (PID). P controllers directly amplify error but cause offsets. PD controllers reduce overshoot but cannot be used alone. PI controllers eliminate offset through integral action. PID controllers combine P, I, and D control for improved stability and transient response, making them the most widely used controllers.