A computer is an electronic device that can store, retrieve, and process data. It can perform various tasks and calculations based on instructions given to it by a user or a program. Computers can be used for a wide range of purposes, including communication, entertainment, education, and business.