Web workers in Nodebox act as virtual Node processes, handling tasks such as initializing the file system, loading WebAssembly files, and executing server-side JavaScript, all within the browser's sandboxed environment.