A scanner is a device that captures images or text from a physical document or image and converts it into a digital format that can be viewed, edited, or stored on a computer. Scanners are commonly used to digitize documents, photos, and other physical media for electronic storage and manipulation.