Webworker - Webworkers provide scripts that run in a separate thread and don't freeze UI.
Service Worker - Service Workers provide scripts that provide "rich offline experience, push notification, background sync".
To me it seems that "Service Worker" also runs in the background but also does some other stuff.
So, why to use Webworkers at all if Service Worker can do extra work?
Can someone clarify me?
https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers
https://developers.google.com/web/fundamentals/primers/service-workers
Note: Already read Service Worker vs Web Worker - this is pretty small and doesn't cover this topic.