In order to mine a block, miners are required to hash the block with a nonce. This hash must be between 1 and the current mining target.
The current mining target can be found in the previous block.
The mining target is readjusted every 1440 blocks (2 days).