Bitcoin miners perform complex calculations known as hashes. Each hash has a chance of yielding bitcoins. The more hashes performed, the more chances of earning bitcoins. Most people join a mining pool to increase their chances of earning bitcoins. Mining pools pay for high value hashes known as shares.