An integral controller is specifically designed to eliminate the steady-state error (offset) in a control system.
It integrates the error over time and continues to apply correction until the error becomes zero.
Unlike a proportional controller, which can leave a small residual error, the integral controller accumulates past errors and adjusts the system to bring the final error to zero.