Web workers, service workers, and worklets. All of these are what I would call “Javascript Workers”, and although they do have some similarities in how they work, they have very little overlap in what they are used for. Broadly speaking, a worker is a script that runs on a thread separate to the browser’s main thread. If you think about your typical Javascript file that is included in your HTML do
![Web workers vs Service workers vs Worklets | bitsofcode](https://cdn-ak-scissors.b.st-hatena.com/image/square/f8174882ea725b04e0e067f0051b0d22f7309873/height=288;version=1;width=512/https%3A%2F%2Fbitsofco.de%2Fassets%2Ficons%2Ficon_128.png%3Fv%3D05153cb11d)