Multithreading is what allows the parallel execution of two or more parts of a program. It could be seen as multitasking as multiple threads are being executed and run at the same time as part of a process thus it is being called "MultiThreading". Meaning the equivalent numbers of threads corresponds to the process.
This allows the full utilization of the multi-core CPUs in our current age.
When an application is being executed there will be multiple individual units within its process. A single one of the multiple individual units is what we called a "thread".
Thus when multiple threads come together in a process gave birth to the term "MultiThreading".
The terms multithreading and multitasking are different but yet they are the same in some ways. In which multitasking is what allows the switch to another task among tasks thus allowing the simultaneous execution of these tasks. Multithreading extends from this idea but is executed within the application, this is what allows the separation of the process into individual threads.
The operating system can split the processing time accordingly to the threads which allows the processes to be run parallel.
This makes multithreaded programs able to take advantage of the number of processors in the operating system. Which all in all means multithreading is part of the essential to fully utilize multiprocessor computers. In the process, the operating system automatically uses all the processors to run all the threads in the program
What is multithreading? (2021). Retrieved from https://totalview.io/blog/multithreading-multithreaded-applications
Multithreading in android (2021). Retrieved from https://www.geeksforgeeks.org/multithreading-in-android-with-examples/