Desktop computers are best for tasks requiring powerful processing and large screens, while laptops, tablets, and smartphones offer varying degrees of portability but less power. A personal computer consists of a central processing unit, memory, storage, ports, monitor, keyboard, mouse, and optionally a printer. Peripheral devices can expand a computer's capabilities. Connectivity between devices is established through cables or wirelessly.