An operating system manages all computer operations and resources. It performs basic tasks like allocating memory, processing instructions, controlling input/output devices, and managing files. Popular modern operating systems include Android, iOS, and Linux. A command line interface relies only on text input/output while a graphical user interface uses windows, icons and a pointing device like a mouse for interaction. Examples of command line interfaces are DOS while Windows is an example of a graphical user interface.