A keyboard is an input device used to enter data, text, and commands into a computer or other digital device.