An optical mouse uses light instead of a rolling ball to detect movement. It works by focusing light onto a surface, using a sensor to detect changes in light intensity caused by movement. The sensor processes this information and sends signals to the computer corresponding to the direction and distance moved. New technologies like lasers and image sensors have improved optical mice by increasing sensitivity and allowing them to work on any surface.