Any device attached to a computer that adds functionality but isn’t required. A nice example of such an accessory is a computer printer, which allows you to print from your computer.