A script that runs in the background of a webpage, enabling features such as offline caching, push notifications, and background sync.