but how the Miners gets their money, who paid them?
There is no centralized authority to "pay" miners in a decentralized network. There is a reward that can be claimed for finding a new block that the miner has to claim themselves.
It basically works like this:
The miner builds a new block to start mining it, for that they include as many transactions as possible in that block while building a special transaction known as coinbase and in that transaction they pay themselves up to a certain amount that is determined based on the block height (for example block 679648 can have up to 6.25
BTC reward) plus up to the sum of all transaction fees inside that block.