A keyboard is an input device used to type text, numbers, and commands into computers and other electronic devices. It features a set of keys arranged in a standard layout for efficient data entry.