The Light Sensor measures the ambient light level (illumination) in lx. This sensor is typically used for controlling screen brightness. The light sensor is located above the screen close to earpiece speaker and proximity sensor.
Typical location of light sensor