Transaction fees are a feature of the Bitcoin protocol. They are paid by the issuer of a transaction, and are collected by the miner who enables the release of the block containing the transaction. They provide an economic incentive to mine on the Bitcoin network. They are calculated according to the difference between the input and the output of a transaction.