Proof-of-Work(PoW) works by asking nodes to provide proof of their work by providing the necessary computation power to solve tough mathematical puzzles. The transactions are stored in blocks where block difficulty determines the difficulty of mining for miners. The miners are the special nodes that take part in the providing the computational power to the blockchain. The process is known as mining.