What is the differences between printer and scanner?

Printers are used to produce physical copies of documents, images, and other types of media. Scanners are used to convert physical documents, images, and other types of media into digital formats. Printers are used to output digital documents, images, and other types of media, while scanners are used to input digital documents, images, and other types of media.