Bitcoin halving to happen in 2024 around the month of may or april. Bitcoin halving is a process by which transactions are verified on the blockchain. It is also the way new bitcoins are entered into circulation.
Miners will use complex math to generate a cryptographic number that matches the block, which is already present in the blockchain system. Bitcoin mining can happen till the year 2140 because of the fixed numbers of bitcoin.
Satoshi Nakamoto, pseudonymous founder of bitcoin released only 21 million bitcoins. More than 19 million bitcoins have already been mined, leaving under 2 million to be created.