A computer is an electronic machine that can accept data as input, process that data, store the output, and provide results. It performs arithmetic and logical operations and distinguishes itself from a calculator by being able to store and run programs. A computer has input, processing, output, and storage components. It also has hardware, software, and people components. There are different types of computers including analog, digital, microcomputers, minicomputers, mainframes, and supercomputers.