Feedback control selects a control input using observations of the actual controlled plant. In a tracking loop, compare the reference signal with the measured output to form the tracking error , then let the controller change . The control input changes the plant output, which is measured again: that return path closes the loop. A controller can use earlier observations as well as the latest one. [ref]
https://www.fbswiki.org/wiki/index.php/Feedback_Principles. Åström and Murray, Feedback Systems, Chapter 2: Feedback Principles
For the ideal controlled plant, proportional control initially commands . As approaches , the command shrinks. When a positive control disturbance pushes above , the tracking error becomes negative and the control input pushes back. The result is a bounded offset rather than the continuing drift of open-loop control. Integral action can remove that offset by remembering past tracking errors.
New to topics? Read the docs here!