Mining fee is technical service fee paid by miner to mining pool, which we also name it as pool fee. The payment models includes PPS, PPLNS, PPS +, FPPS, SOLO, etc.
Transaction fee refers to the fee paid to miners when users send transaction, which could be regarded as the labor income of miners.