Bitcoin mining is the process of verifying and adding transaction records to the Bitcoin blockchain. Miners use specialized computers to solve complex mathematical problems, and the first miner to solve a problem receives a reward in the form of Bitcoin.
Bitcoin mining is legal in most countries, but there are some exceptions. For example, China has banned Bitcoin mining, and other countries have on the practice.