A computer is an electronic device that takes in raw data as input, processes it according to programmed instructions, and produces output that is much faster than humans. It has input devices like keyboards and mice, a central processing unit that directs its performance, output devices like displays and printers, and a memory to store data during processing. There are different types of computers and they have various components that work together to perform tasks like games, reservations, and aircraft control.