A computer is a machine that accepts data as input, processes that data using programs, and outputs the processed data as information.