what is a computer?

A computer is a machine that can be programmed to carry out sequences of arithmetic or logical operations (computation) automatically.