It doesn't, it's Foss. To play Minecraft though you still need to buy the game, this script makes the launcher think you have bought the game even if you haven't.
Prism launcher is just an open source replacement for minecraft’s official launcher. But you still need to have bought the game and be logged into your microsoft account through prism launcher to be able to install the game and play online. This script bypasses those systems of the launcher.