Operating systems control electronic devices by managing messages between components and tasks sent to the processor. The OS helps processors focus on one task at a time by queueing thousands of tasks per second, making it seem like multi-tasking. It also uses buffers to temporarily hold additional tasks until the processor is ready. The OS manages processor usage, memory, storage, devices and the user interface. It allows virtual memory on the hard drive to improve RAM usage and running multiple applications simultaneously. Drivers installed by the OS help devices connect and communicate with the computer properly.