what are the main components of a computer?

A computer consists of a motherboard, a central processing unit (CPU), memory (often called RAM) and a hard disk or hard drive or Solid State Drive for storage.