Blockchain and Web3: Their Origin and How They Work