Web worker runs script on parallel thread which is separated from the main thread of web app.
Advantages: