The CPU is the central processing unit of the computer. It is the mastermind or the brain of the device. It contains the RAM, ROM, hard drive and a number of interlinked connections on the motherboard that processes all the information.
Hence, the CPU acts as the input, output, and storage of the computer. It receives the data in the form of a CD, a USB or via the monitor in text form. The CPU then processes all this information and stores the relevant information in order to serve its purpose. The output is then displayed on the monitor, in the form of text, images or video.