A brief outline of computer architecture:
For our purpose it is important to know a few basic things
about how computer works. The essential elements are:
The Processor (or CPU = computer processing unit). This is the
core that processes data and executes tasks.
RAM = non permanent memory. This is like a temporary dumping
space which the CPU uses to store things while its working. The
RAM content gets wiped out when the computer is turned off.
Storage devices (hard drive, USB sticks, CD-ROM etc) are used
to store or memorise data permanently.
In a kitchen the RAM would be the worktop which you clean after
cooking and the storage devices are the cupboards where stuff is
stored away to be used again later.
Input/Output devices (Keyboard, Screen, mouse etc) are
necessary for humans to interact with the computer. Mice and
keyboards are input devices. Screens and loudspeakers are output
devices. Storage devices are also Input/Output devices but of a
particular kind.