Mining Pools
In order to have a higher chance of receiving this block reward, miners virtually pool their computing power with other miners by connecting their mining machines to an online service called a “mining pool”. Every participant in a mining pool gets a share of the block reward that the pool gets and this share is proportional to the amount of computing power that was contributed by the miner.
A transaction fee on the other hand is a small amount of cryptocurrency that everybody has to pay to make a transaction of that cryptocurrency. In summary, miners are paid through a combination of block rewards and transaction fees depending on which cryptocurrency they are mining.