A keyboard is a device that allows you to input data into a computer or other electronic device. It contains buttons, or keys, that correspond to letters, numbers, and symbols.