For projects with mintable tokens, it is necessary to implement a function called "minting function" in the smart contract. And what do you think this function does?  It enables the minting of new tokens, of course. The way a minting function is implemented in the smart contract defines who can access the minting function and how many new tokens can be minted at once.