How multiprocessing is done in Single Core Systems?
The operating system (or the thread scheduler) switches from one thread to another at more or less regular intervals, making it look as if these threads were running simultaneously.