A computer is an electronic device that accepts data as input, processes that data, and provides results as output. Originally, the term "computer" referred to humans who performed calculations, but it now refers to machines. A typical computer consists of a central processing unit, memory, storage devices, input devices like a keyboard and mouse, and output devices like a display and speakers. Computers are now used for a wide variety of tasks like writing documents, sending emails, accessing the internet, and more.