In order to motivate miners to process transactions that are stored in the blocks of the blockchain, they get rewarded with certain units of the particular coin, for every block that gets completed.
The block reward is awarded to the miner who confirmed the final hash of the block, the others get nothing. That's why miners often get together in so called mining pools and distribute the rewards among them in an equal way, based on the hashing power the contribute with.