for even computers can process only one piece of code at a time. When they “multitask,” they switch back and forth, alternating their attention until both tasks are done.
Computers CAN multitask but it is called multithreading. Even this is still a bad analogy if a human could do it. A human can walk and talk at the same time, but only focus on one. A computer that is multithreading is really not "paying attention" to any one of the threads, but just executing code (not paying attention).