Some nodes are mining nodes (usually referred to as "miners"). These group outstanding transactions into blocks and add them to the blockchain. How do they do this? By solving a complex mathematical puzzle that is part of the bitcoin program, and including the answer in the block. The puzzle that needs solving is to find a number that, when combined with the data in the block and passed through a hash function, produces a result that is within a certain range. This is much harder than it sounds.

The bitcoin network is a peer-to-peer payment network that operates on a cryptographic protocol. Users send and receive bitcoins, the units of currency, by broadcasting digitally signed messages to the network using bitcoin cryptocurrency wallet software. Transactions are recorded into a distributed, replicated public database known as the blockchain, with consensus achieved by a proof-of-work system called mining. Satoshi Nakamoto, the designer of bitcoin claimed that design and coding of bitcoin began in 2007. The project was released in 2009 as open source software.

How hard are the puzzles involved in mining? Well, that depends on how much effort is being put into mining across the network. The difficulty of the mining can be adjusted, and is adjusted by the protocol every 2016 blocks, or roughly every 2 weeks. The difficulty adjusts itself with the aim of keeping the rate of block discovery constant. Thus if more computational power is employed in mining, then the difficulty will adjust upwards to make mining harder.  And if computational power is taken off of the network, the opposite happens. The difficulty adjusts downward to make mining easier.
Bitcoin paints a future that is drastically different from the fiat-based world today. This is either exciting or unsettling for the vast majority. Equip yourself with the best possible resources. Become active in communities that further explore not only the technical applications of Bitcoin and other cryptos, but with their overall potential to disrupt virtually every market. Brace yourselves. Cryptos are coming.
From a widespread adoption standpoint: for the typical consumer, Bitcoin is technically challenging and cumbersome to use for the inexperienced. They also forfeit the consumer protections afforded by traditional credit and debt cards. Merchants already have incentive to accept it in the form of reduced fees for accepting payments over typical payment processors.

Another advancement in mining technology was the creation of the mining pool, which is a way for individual miners to work together to solve blocks even faster. As a result of mining in a pool with others, the group solves many more blocks than each miner would on his own. Bitcoin mining pools exist because the computational power required to mine Bitcoins on a regular basis is so vast that it is beyond the financial and technical means of most people. Rather than investing a huge amount of money in mining equipment that will (hopefully) give you a return over a period of decades, a mining pool allows the individual to accumulate smaller amounts of Bitcoin more frequently.
As specified by the Bitcoin protocol, each miner is rewarded by each block mined.  Currently, that reward is 12.5 new Bitcoins for each block mined. The Bitcoin block mining reward halves every 210,000 blocks, when the coin reward will decrease from 12.5 to 6.25 coins.  Currently, the total number of Bitcoins left to be mined amounts to 4,293,388. This means that 16,706,613 Bitcoins are in circulation, and that the total number of blocks available until mining reward is halved is 133,471 blocks till 11:58:04 12th Jun, 2020 When the mining reward will be halved.
The receiver of the first bitcoin transaction was cypherpunk Hal Finney, who created the first reusable proof-of-work system (RPOW) in 2004.[21] Finney downloaded the bitcoin software on its release date, and on 12 January 2009 received ten bitcoins from Nakamoto.[22][23] Other early cypherpunk supporters were creators of bitcoin predecessors: Wei Dai, creator of b-money, and Nick Szabo, creator of bit gold.[24] In 2010, the first known commercial transaction using bitcoin occurred when programmer Laszlo Hanyecz bought two Papa John's pizzas for 10,000 bitcoin.[25]