A keyboard is an accessory to a computer. It can be defined as an input device connected to the keyboard.