Converting voltage to analog value with resistor

So is the other resistor in the arduino? Because you can get an analog value just with one pot/LDR.