The main parts of a computer are the monitor, mouse, keyboard, and CPU. The CPU is the central processing unit, which is considered the brain of the computer. The keyboard contains function keys, alphabet keys, number keys, and special keys like Ctrl, Shift, and Alt.