If new tokens can be created as per requirement, then we can also have a functionality that will delete the tokens from the network. In simple terms, burnt tokens cannot be spent anymore. In reality, decreasing the total supply can increase the value of each token in addition to other benefits.
In this recipe, you will learn a method to delete tokens permanently from the contract.