Scanning a barcode
Shines a laser onto the barcode and the barcode reflects the white spaces back. Photoelectric cells detect the reflected light and convert it to digital data which can be read by a computer.
How does a mouse work?
A red LED light is reflected off a surface and any movements are detected be a sensor made up of an array of photo-sensitive diodes
What is an input device?
Transfer of data from outside a computer to its main memory.