Input and output devices allow the computer system to interact with the outside world by moving data into and out of the system.