Very Simple LED Question

What are you trying to measure?
Is the light sensor trying to measure the brightness of the LED or is the LED just interference?