It creates a local KMS server on your PC. Instead of checking in with Microsoft's official servers, the software "asks" the local emulator for permission to run, which is granted every 180 days.