The five basic parts of a computer are the motherboard, central processing unit (CPU), input-output units, memory (RAM and ROM), and storage (SSD or HDD).