Input devices such as keyboards, mice, and scanners allow users to enter data into a computer. Output devices like monitors, printers, and speakers allow the computer to display or communicate processed information to users. Peripheral devices are optional hardware components that are not essential for basic computer functioning. Common input devices use keyboard entry or direct entry to transfer data, while output occurs via visual displays, audio, or physical printouts.