A:
An optical computer mouse uses a light source, typically a light-emitting diode, and a light detector, such as an array of photodiodes or an image sensor, to detect movement relative to a surface. It is an alternative to the mechanical mouse, which uses moving parts to perform the same function.
(from Wikipedia). That what the light at the bottom of the mouse does.