A peripheral is a device that connects to and works with a computer, but is not an integral part of it. It typically includes components like a keyboard, mouse, printer, or external hard drive. These devices help expand the capabilities and functionality of the computer.