A scanner is an input device that optically scans physical images, printed text, or handwriting and converts it into a digital image file. While graphic tablets and styluses are used to draw digital art directly, they do not scan existing physical photographs.