Answer
The flight controller uses sensor data and control algorithms to adjust motor outputs rapidly, keeping the aircraft near the commanded attitude or position within the limits of the selected mode.
Explanation
The pilot commands a desired state, but the controller closes the fast stabilisation loop. That is why sensor quality and correct configuration are central to predictable handling.