What does computer peripheral do?

A peripheral is any device that you hook up to your computer.

Examples of some would be printer, scanner, keyboard, mouse, etc