There are plenty of resources to show you how the bitcoin network works. How miners validate every transactions in a block (allowing for trustless peer to peer transactions), how new bitcoin is created, how the sha256 algo works (or as you say, “solving puzzles”), etc.
im not going to sit here...