The "transaction fees" or "mining fees" are used to pay the "miners", those who validate the transactions and ensure the security of the network, without these fees the transaction cannot be validated, these fees evolve according to the load of the network and are directly paid to the "miners" once the transaction is confirmed.