The main parts of a computer include the motherboard, Central Processing Unit (CPU), power supply, Random-Access Memory (RAM), hard drive, case and cooling devices.