The keyboard is the piece of computer hardware used to input text, characters, and other commands into a computer or similar device.
It’s an external peripheral device in a desktop system (it sits outside the computer case), or is “virtual” in a tablet PC.