Coinbase Transaction

In a new block, the first transaction is a coinbase transaction in which the miner receives Bitcoins and mining fees. This transaction is used to reward the miner for creating the block.