A computer is an electronic device that processes data based on stored instructions, performing five main functions: input, storage, processing, output, and control. It consists of hardware (physical components) and software (organized data and instructions), with the CPU serving as the core processing unit. Memory types include RAM (volatile, temporary storage) and ROM (permanent storage), while application software accomplishes specific tasks and system software manages hardware components.