A computer is an electronic device that is capable of receiving, processing, and storing data. It is used to perform a wide range of tasks, including word processing, data analysis, and communication. There are several types of computers, including desktop computers, laptops, and mobile devices such as smartphones and tablets.