Since an LDR is an analog component. it absorbs light and converts it into a single analog value that lies between 0-255.