What is a computer why it is known as data processor?

A computer is known as a data processor because that's what it does. Process data (programs)