A computer is an electronic device that processes data, performing calculations and executing instructions to accomplish a wide range of tasks. It consists of hardware and software components, enabling functions like storage, communication, and information retrieval across various applications.