What is mining?

Mining is the process of discovering new cryptocurrency by solving complex mathematical problems using computer hardware. It involves compiling recent transactions into blocks and trying to solve a computationally difficult puzzle. The person who discovers the solution to the puzzle gets rewarded with the cryptocurrency.