A computer is just a motherboard, a circuit board that can take in information from computer programs, like the ones that tell it how your keyboard and mouse work. The brain of your computer is the CPU (Central Processing Unit), a square chip that connects to the motherboard and is responsible for all the processing that the computer does. A CPU is just a list of instructions that tell it how to do tasks like addition and subtraction, and a bunch of memory which gives it space to do the arithmetic, like scratch paper. The CPU doesn't have enough processing power to putting images on your screen, so the motherboard has another chip to process graphics. The GPU (Graphics Processing Unit) is the chip that's job is to color every pixel on your screen the correct color. This may seem simple but if you're running big high graphics video games the GPU has to render hundreds of shapes and 3D objects at once, which can get very slow.
A computer also needs to have memory in order to run properly. RAM (Random Access Memory) are chips in the motherboard thats job it to store the memory of the CPU and GPU, which are contantly inputting and outputting code. RAM can be called on at any time for most purposes, like displaying a window. One downside of RAM is that it's only ment to store data for a temporary amount of time, meaning we need memory on the computer inorder to store things like importaint files. This memory is usually seperate from the motherboard, and is used for personal storage and temporary files instead of for processes. A necessary part of any computer is the cooling system. The processing that the computer does uses a lost of heat so most computers use fans or liquid cooling through tubes to cool down the motherboard.