The missile knows where it is at all times.
By subtracting where it is from where it isn't
It acquires a difference, or deviation.