In short, mining a new bitcoin is a two-step process. First, you need to verify a blocks worth of transactions, then you need to guess a hash (a number). Your guess is compared to a target (called a nonce) and if your guess is below the nonce then you form a block.