A computer system has three main parts: input, which accepts data from devices like keyboards and sensors; processing, where the central processing unit follows instructions from a program to transform input data; and output, which communicates the processed results to users through displays or printouts. An example is a microwave oven, which takes cooking instructions as input, processes the food accordingly, and outputs a signal when finished.