A computer is a machine that manipulates data according to a list of instructions. The first devices that resemble modern computers date to the mid-20th century (around 1940 - 1945), although the computer concept and various machines similar to computers existed earlier.