How to measure led volts whit analogread()

Don't you need some connection to ground? Doesn't analogRead() measure voltage relative to ground?