A computer is an electronic device that processes data by following a set of instructions. A computer system is a set of parts, including the computer itself, that work together to perform tasks. These tasks may be relatively simple, as in a calculator, or they may be very complex, as in air traffic control systems.