What are peer-to-peer (P2P) blockchain networks and how do they work?

Blockchain technology has been gaining popularity in recent years, especially with the rise of cryptocurrencies.…