Hard drives store digitally encoded data on rotating magnetic platters, while optical drives use lasers to read and write data to optical disks. The CPU interprets and executes commands from hardware and software and is considered the computer's brain. The motherboard holds crucial components and provides connections for other parts. The power supply converts alternating current to power the components, and RAM is a form of short-term computer memory. A video card outputs images to displays.