How Does the Metaverse Work?