It is easy to get all tangled up in the fancy language used in these systems. Let me try to make it as simple as possible.
First, a servo system is a system that attempts to make a MEASURED value equal to a DESIRED value. In the fancy language, the measured value is called the "process variable". And the desired value is the "control variable". These two values should be expressed in the SAME units. Those units can be distance, linear velocity, rotational velocity, time, or any other physical units. The important thing is they must be the same type of units: distance and distance, velocity and velocity, etc.
The actual serve system can use different technologies: mechanical, hydraulic, pneumatic, electrical, or electronic. Most are electronic. But in any case the two values, measured and desired, must be translated/expressed in the same manner and in a manner that is understandable by the actual, servo technology. Since most servo systems are electronic, that manner is usually a Voltage.
So in your case a distance must be measured with a sensor that translates it into a Voltage. And your desired value must also be expressed as a Voltage. That gives us two Voltages that become inputs to the servo system.
For the time being I am skipping over the PID TYPE of servo. There are other types. But whatever type is used, the result of an electronic servo is usually another Voltage.
That Voltage is then sent to some kind of amplifier or other circuit that converts it into the form needed to drive a device that physically corrects the measured value (the "process variable") to bring it the desired value (the "control variable"). That device is often a motor but can be any of many types of drivers. Depending on the type of that device, the amplifier or other circuit can convert that Voltage to a different Voltage range, a current, a series of pulses, a varying frequency or whatever is needed.
The above process is called a closed loop servo. It is a closed loop because the two values are compared, an error is found, that error is amplified and/or processed, and that processed error is used to correct the process variable to make it match the control variable. The process begins again from the start and repeats on a continuous manner.
Many of the other terms you will hear will be specific to one or more steps in the above process.
Now PID: PID is the initials of Proportional, Integral, and Differential. The proportional is easy to understand. The error at the output of the servo circuit is proportional to the error between the two values. The greater the difference, the greater the P or proportional servo output. Of course, the proportional output must be in the proper direction to correct the error, not increase it.
The integral component is a value that depends on the recent or not so recent history of the difference. If the error has been positive in the past, then it will add a correction in the negative direction. And vice-versa. This tends to provide a kind of smoothing component if the proportional output is jumping around.
The differential component depends on the rate of change in the proportional error. If the proportional error is increasing rapidly, it can help bring it down. And vice-versa.
These three components are added together (summed) to produce a single output Voltage. Most PID servo circuits will provide controls on each of them so a proper mix can be created.
The instructions for the PID servo should provide, at least a good starting point for those settings. If not, start with the P at a moderate gain and the I and D fairly low. Then observe the system and adjust them accordingly. Of course, a good starting point can vary for different systems.
Just to clarify, holding a given value (height above a surface) does not mean that the output of the servo will be zero at that point. It would be assumed that there is some force acting on the system, probably due to gravity and possibly other forces and some non-zero value of the servo's output would be required to counter those force(s).
I hope this helps.