When a user purchases and downloads a game from the Nintendo eShop, the NSP file is downloaded to their console. The Switch then uses the NSP file to install the game, which involves decrypting and extracting the contents of the file to the console's internal storage. The NSP file contains a manifest that describes the contents of the package, including the game's title, version, and required assets.