human
Can you explain how a computer works?
assistant
A computer is made up of many parts. It has a processor, memory, storage space, input devices (such as a keyboard and mouse), output devices (such as a display screen) and other components. The processor is the brain of the computer that does all the work. The memory stores data and instructions for the processor to use. Storage space is where data is stored when it’s not in use by the processor. Input devices allow users to interact with the computer. Output devices display information from the computer. Other components include the motherboard, power supply, hard drive, optical disc drive, USB ports and audio/video cables.