It has two inputs and one output: a reference signal is applied to one input, the modulated signal to the other, the output is a signal that is proportional to the difference between the two inputs.
It has two inputs and one output: a reference signal is applied to one input. The phase or frequency modulated signal is applied to the other and the output is a signal that is proportional to the difference between the two inputs.