A scanner optically scans images, documents, or objects and converts them into digital data that a computer can store and process. Unlike input devices like keyboard and mouse which capture text/commands, a scanner captures visual information. Printer is an output device, not an input device.